Running ww2 from a cvs update last night.

NPE happens on deploy of the example app. Here's what's happening
FilterDispatcher. getActionResultConfig(String result, ActionConfig
actionConfig) is called with actionConfig.getResults containing
{success=class com.opensymphony.webwork.dispatcher.VelocityResult} and
result = "input". This results in a null assignment when input is looked up
in the map. Added a null check to the code with no apparent ill effects

        if (class != null && clazz.equals(ServletDispatcherResult.class)) {
            view = (String) ((Map)
resultParams.get(result)).get("location");
        }

However, I'm very new to webwork and don't know if this is a proper fix yet.
Digging more.




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to