They're served throught S1 and S2 since I'm in the middle of migrating from
S1 to S2.


I got a replay from WebWork forum:

Hi Newuser, 

>From the stack trace it looks like FilterDispatcher is never being applied
to the request resulting ValueStack being null, hence NPE. How does the
mapping of web.xml looks like? I am wondering could it be that all this time
sturts1 is being applied and struts2 doesn at all cuase from the stack
trace, can't see where s2 FilterDispatcher kicks in (or if there's still one
in s2). 

We might want to check out (TagUtils.java:58) and see which like is causing
NPE, as far as i can recall, WebWork will creates a values stack if it is
not available form request's attribute which if s2 FilterDispatcher never
kicks in, there will never be one 

I guess we might want to keep an eye on the thread posted in struts malling
list, they are probably understand more of the situation i guess as it
involves both sturts1 and struts2. 

It doesn't look like its a problem with sitemesh. Issue WW-1388 looks like a
different issue althogether. 

Cheers. 

Thanks,
Yan



Dave Newton-4 wrote:
> 
> --- panpan <[EMAIL PROTECTED]> wrote:
>> Don't understand this one.
> 
> *Please* just say whether or not the page you're
> serving is being served through S1 or S2.
> 
>> If you see the below struts JIRA link:
>> 
>> http://issues.apache.org/struts/browse/WW-1388
>> 
>> It has the almost same exception as mine. 
> 
> "Almost the same exception"? Because they're both an
> NPE?
> 
> :/
> 
> d.
> 
> 
> 
>      
> ____________________________________________________________________________________
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
> http://autos.yahoo.com/green_center/ 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-with-Struts-and-Struts2-plus-Sitemesh-tf3853336.html#a10948837
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to