Re: Does Session.getClientInfo() Always Return An Instance?

2008-07-14 Thread TH Lim

Ok understood. 

Lately, I found this exception in my log. Anyone know what are the possible
causes for this so I have a lead as to where to begin to trace the problem?
Thanks

ERROR: 2008-07-14 16:22:06,966: StandardWrapperValve: Servlet.service() for
servlet default threw exception
java.lang.NullPointerException
at org.apache.wicket.Session.getClientInfo(Session.java:555)
at com.xyz.web.MySession.(MySession.java:48)


Ryan Gravener-3 wrote:
> 
> Yes, it should always return an instance.
> 
> On Fri, Jul 11, 2008 at 12:34 PM, TH Lim <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi,
>>
>> Does Session.getClientInfo() always return a client info instance? Is it
>> possible that this method will return null? If so, what is the cause to
>> it?
>>
>> Thanks.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Does-Session.getClientInfo%28%29-Always-Return-An-Instance--tp18407471p18407471.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Ryan Gravener
> http://twitter.com/ryangravener
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Does-Session.getClientInfo%28%29-Always-Return-An-Instance--tp18407471p18456721.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Does Session.getClientInfo() Always Return An Instance?

2008-07-11 Thread Ryan Gravener
Yes, it should always return an instance.

On Fri, Jul 11, 2008 at 12:34 PM, TH Lim <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Does Session.getClientInfo() always return a client info instance? Is it
> possible that this method will return null? If so, what is the cause to it?
>
> Thanks.
>
> --
> View this message in context:
> http://www.nabble.com/Does-Session.getClientInfo%28%29-Always-Return-An-Instance--tp18407471p18407471.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ryan Gravener
http://twitter.com/ryangravener


Does Session.getClientInfo() Always Return An Instance?

2008-07-11 Thread TH Lim

Hi,

Does Session.getClientInfo() always return a client info instance? Is it
possible that this method will return null? If so, what is the cause to it?

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Does-Session.getClientInfo%28%29-Always-Return-An-Instance--tp18407471p18407471.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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