[jboss-jira] [JBoss JIRA] Resolved: (JBWEB-187) request.getParts() outside @MultipartConfig servlets throws NPE
Remy Maucherat (JIRA)
jira-events at lists.jboss.org
Mon Oct 25 04:25:54 EDT 2010
[ https://jira.jboss.org/browse/JBWEB-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remy Maucherat resolved JBWEB-187.
----------------------------------
Fix Version/s: JBossWeb-3.0.0.Beta8
Resolution: Done
> 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
> Fix For: JBossWeb-3.0.0.Beta8
>
>
> 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