You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Zacharias J. Beckman (JIRA)" <ta...@jakarta.apache.org> on 2004/11/17 15:45:37 UTC

[jira] Commented: (TAPESTRY-225) IUploadFile throws assertion exception when it shouldn't

     [ http://nagoya.apache.org/jira/browse/TAPESTRY-225?page=comments#action_55580 ]
     
Zacharias J. Beckman commented on TAPESTRY-225:
-----------------------------------------------

The error above is missing the UploadPart line numbers. Should have been:

22:30:28,647 ERROR [STDERR] org.apache.tapestry.ApplicationRuntimeException: Error writing uploaded content to /Users/zbeckman/Workspace/Harmony/datastore/repository/27/63/1882763: null
22:30:28,648 ERROR [STDERR]     at org.apache.tapestry.multipart.UploadPart.write(UploadPart.java:117)


> IUploadFile throws assertion exception when it shouldn't
> --------------------------------------------------------
>
>          Key: TAPESTRY-225
>          URL: http://nagoya.apache.org/jira/browse/TAPESTRY-225
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0
>  Environment: Linux, JDK 1.4.2
>     Reporter: Zacharias J. Beckman
>     Priority: Blocker

>
> I'm using an IUploadFile to save a file. The IUploadFile is being written like so:
>     iFile.write(target);
> This gives me an error:
> 22:30:28,647 ERROR [STDERR] org.apache.tapestry.ApplicationRuntimeException: Error writing uploaded content to /Users/zbeckman/Workspace/Harmony/datastore/repository/27/63/1882763: null
> However, when I look in the specified location, the file is there, it is intact, and it is complete. I can open it up and all the data is there. So, it worked fine -- I don't understand why I'm getting this assertion failure!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org