[
https://issues.apache.org/jira/browse/WW-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-3406:
------------------------------
Fix Version/s: (was: 2.3.x)
2.3.10
> 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
> Labels: jsf, navigation, tomcat
> Fix For: 2.3.10
>
>
> 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