[
https://issues.apache.org/jira/browse/WW-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607011#comment-13607011
]
Hudson commented on WW-3406:
----------------------------
Integrated in Struts2-JDK6 #669 (See
[https://builds.apache.org/job/Struts2-JDK6/669/])
WW-3406 Solves NPE problem (Revision 1458537)
Result = SUCCESS
lukaszlenart :
Files :
*
/struts/struts2/trunk/plugins/jsf/src/main/java/org/apache/struts2/jsf/StrutsNavigationHandler.java
> NullPointer in JSF plug-in
> --------------------------
>
> Key: WW-3406
> URL: https://issues.apache.org/jira/browse/WW-3406
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.1.8.1
> Environment: Windows XP, Tomcat 5
> Reporter: Alan McLachlan
> Assignee: Lukasz Lenart
> Labels: jsf, navigation, tomcat
> Fix For: 2.3.13
>
>
> Am getting a NullPointerException in the JSF Plugin StrutsNavigationHandler,
> line 66.
> >> ActionConfig config = ctx.getActionInvocation().getProxy().getConfig();
> Debugging, it's ctx.getActionInvocation() that is returning null.
> Looking at line 63 I think I see the bug:
> if (ctx == null && ctx.getActionInvocation() == null) {
> Surely that should be || instead of &&
> Some context: I have an existing JSF action. I am trying to run it backed by
> struts, maintaining all the JSF beans and navigation without editing - which
> means that it'll be mostly backed by stub-type struts actions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira