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 07:45:23 UTC
[jira] Created: (TAPESTRY-225) IUploadFile throws assertion exception when it shouldn't
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
[jira] Commented: (TAPESTRY-225) IUploadFile throws assertion exception when it shouldn't
Posted by "Zacharias J. Beckman (JIRA)" <ta...@jakarta.apache.org>.
[ 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
[jira] Commented: (TAPESTRY-225) IUploadFile throws assertion
exception when it shouldn't
Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-225?page=comments#action_12369950 ]
Brian K. Wallace commented on TAPESTRY-225:
-------------------------------------------
I've tried to replicate this problem and cannot. The exception is being thrown from inside FileUpload.
Two ways to go with this - Could Not Replicate, or upgrade FileUpload to 1.1 released 22 Dec 2005.
Recommend closing this issue Could Not Replicate then investigate the possibliity of upgrading FileUpload.
> IUploadFile throws assertion exception when it shouldn't
> --------------------------------------------------------
>
> Key: TAPESTRY-225
> URL: http://issues.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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, 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
[jira] Commented: (TAPESTRY-225) IUploadFile throws assertion exception when it shouldn't
Posted by "Zacharias J. Beckman (JIRA)" <ta...@jakarta.apache.org>.
[ 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
[jira] Resolved: (TAPESTRY-225) IUploadFile throws assertion
exception when it shouldn't
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-225?page=all ]
Jesse Kuhnert resolved TAPESTRY-225:
------------------------------------
Resolution: Cannot Reproduce
> IUploadFile throws assertion exception when it shouldn't
> --------------------------------------------------------
>
> Key: TAPESTRY-225
> URL: http://issues.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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, 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