struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3848) NPE forwarding to tile using old dispatch filter
Date Wed, 22 Aug 2012 10:00:38 GMT

    [ https://issues.apache.org/jira/browse/WW-3848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439387#comment-13439387
] 

Hudson commented on WW-3848:
----------------------------

Integrated in Struts2 #517 (See [https://builds.apache.org/job/Struts2/517/])
    WW-3848 adds warning message that the FilterDispatcher is deprecated and can produce errors
when used with other web stacks (Revision 1375926)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java

                
> NPE forwarding to tile using old dispatch filter
> ------------------------------------------------
>
>                 Key: WW-3848
>                 URL: https://issues.apache.org/jira/browse/WW-3848
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.1, 2.3.4
>            Reporter: Paul Benedict
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.5
>
>         Attachments: www3848.zip
>
>
> Struts config:
> {noformat}
> <package name="default" namespace="/" extends="struts-default">
>     <action name="test">
>         <result type="tiles">test.tile</result>
>     </action>
> </package>
> {noformat}
> Stack trace:
> {noformat}
> java.lang.NullPointerException
> org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
>     com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
>     org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
>     org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
>     com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
> {noformat} 
> Specifying the Action class makes the exception go away.

--
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

        

Mime
View raw message