struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-3406) NullPointer in JSF plug-in
Date Tue, 19 Mar 2013 22:01:15 GMT

     [ 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

Mime
View raw message