You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dan Howard (Commented) (JIRA)" <ji...@apache.org> on 2012/02/16 16:01:01 UTC
[jira] [Commented] (STR-3173) Regression : NullPointerException in
org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty
[ https://issues.apache.org/jira/browse/STR-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209417#comment-13209417 ]
Dan Howard commented on STR-3173:
---------------------------------
Hello, I have a old project that uses Struts 1.3.10 where I get this error.
Can we publish 1.3.11? What's the delay?
Is there a work around?
> Regression : NullPointerException in org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty
> --------------------------------------------------------------------------------------------------------
>
> Key: STR-3173
> URL: https://issues.apache.org/jira/browse/STR-3173
> Project: Struts 1
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.3.10
> Reporter: Xavier Poinsard
> Assignee: Niall Pemberton
> Priority: Blocker
> Fix For: 1.3.11, 1.4.0
>
>
> With version 1.3.10 we got the following error but not with previous stable version.
> We are using a Form with fileUpload.
> Here is the stack trace :
> java.lang.NullPointerException
> at java.lang.Class.isAssignableFrom(Native Method)
> at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:506)
> at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:459)
> at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
> at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
> at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
> at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
> at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira