[jboss-jira] [JBoss JIRA] Created: (JBWEB-187) request.getParts() outside @MultipartConfig servlets throws NPE

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Sat Oct 23 15:40:54 EDT 2010


request.getParts() outside @MultipartConfig servlets throws NPE
---------------------------------------------------------------

                 Key: JBWEB-187
                 URL: https://jira.jboss.org/browse/JBWEB-187
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossWeb-3.0.0.Beta7
            Reporter: Nicklas Karlsson
            Assignee: Remy Maucherat


calling request.getParts() in other places (e.g a filter) other that a @MultipartConfig annotated servlet throws a NPE since the code exists early before initializing the parts. Perhaps an empty collection could be returned instead?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list