You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/12/15 15:27:37 UTC

[jira] Commented: (STR-3173) Regression : NullPointerException in org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty

    [ https://issues.apache.org/struts/browse/STR-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45250#action_45250 ] 

Paul Benedict commented on STR-3173:
------------------------------------

With the latest release, I don't think anything was changed with file uploading. Can you help diagnose it a little more?

> Regression : NullPointerException in org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3173
>                 URL: https://issues.apache.org/struts/browse/STR-3173
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.10
>            Reporter: Xavier Poinsard
>            Priority: Blocker
>
> 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.
-
You can reply to this email to add a comment to the issue online.