tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zacharias J. Beckman (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-225) IUploadFile throws assertion exception when it shouldn't
Date Wed, 17 Nov 2004 16:32:25 GMT
     [ http://nagoya.apache.org/jira/browse/TAPESTRY-225?page=comments#action_55584 ]
     
Zacharias J. Beckman commented on TAPESTRY-225:
-----------------------------------------------

On the theory that perhaps a file extension was expected, I tried adding one. This makes no
difference. As before, an exception is thrown, even though the file has been correctly written:



> 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


Mime
View raw message