struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan McLachlan (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3406) NullPointer in JSF plug-in
Date Thu, 11 Mar 2010 15:09:27 GMT
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


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message