You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/14 14:29:03 UTC

DO NOT REPLY [Bug 22415] New: - NullPointerException in DefaultFileItem

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22415

NullPointerException in DefaultFileItem

           Summary: NullPointerException in DefaultFileItem
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mikael.staldal@home.se


I get this exception:

java.lang.NullPointerException
    at org.apache.commons.fileupload.DefaultFileItem.write
    (DefaultFileItem.java:442)

I think it's because another Exception is thrown in the try-block so that 
the "out" variable is still null in the finally-block.