commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23822] New: - FileUpload default constructor does not create a factory
Date Tue, 14 Oct 2003 19:41:08 GMT
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=23822>.
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=23822

FileUpload default constructor does not create a factory

           Summary: FileUpload default constructor does not create a factory
           Product: Commons
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: larsga@garshol.priv.no


The default constructor of the FileUpload class (no parameters) is said by the 
documentation to use "the default factory", but the code doesn't actually create 
any factory at all (fileItemFactory attribute is null), so any attempt to use 
the class causes a NullPointerException. Either the documentation or the code 
should be fixed. Personally, I think the code should be fixed. Why make the 
class harder to use than necessary?

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


Mime
View raw message