You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/03/19 23:01:15 UTC
[jira] [Resolved] (WW-3406) NullPointer in JSF plug-in
[ https://issues.apache.org/jira/browse/WW-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3406.
-------------------------------
Resolution: Fixed
Assignee: Lukasz Lenart
Solved, thanks for reporting and solution!
> 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