Is this causing your problem? If so, log a bug...

> -----Original Message-----
> From: Sergiy Barlabanov [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 28, 2003 6:42 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] NullPointerException at SessionMap.
> 
> 
> Hi All
> I did some research of the source code. The line number 52 in 
> SessionMap class looks like this final String key = 
> enum.nextElement().toString();
> 
> Who can tell me why there is no check for null before 
> invoking ".toString"? As far as I remember from my Java 
> Programmer Certification it's possible for Map to have key 
> equals null. Am I wrong? If somebody did 
> session.setAttribute(null, "blablabla") then 
> SessionMap.entrySet() would not work.
> 
> Regards,
> Sergiy
> 
> -----Original Message-----
> From: Sergiy Barlabanov 
> Sent: Friday, November 28, 2003 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] NullPointerException at SessionMap.
> 
> 
> Ok then, but why does it work when I configure all requests 
> to go directly to WebWork Dispatcher? When I invoke the 
> action directly by typing the corresponding URL in my browser 
> it works fine. When I include this action through ww:include 
> it does not work. It should go the same path regardless 
> whether it's include or incoming request. They both go 
> through ServletDispatcher.service, which does the same 
> actions. But it one case it works and in another doesn't.
> 
> -----Original Message-----
> From: Wayland Chan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 27, 2003 7:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] NullPointerException at SessionMap.
> 
> 
> I'm new but going to take a stab regardless because this 
> problem was already discussed earlier this week.
> 
> You need to have an Action class invoked in order to have all 
> those classes initialized.
> 
> > 
> > What could it be? Is it because of the fact, that initial 
> request processing    > does  not go through WebWork Dispatcher?
> 
> 
> 
> 
> 
> 
> Ciao!
> 
> Wayland Chan
> email: wchanATtrekspaceDOTcom
> 
> ----------------------------------------------------------
> Get your free email account from http://www.trekspace.com
>           Your Internet Virtual Desktop!
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to