As a matter of fact, I resolved it.
The getThreadLocalRequest() return null when called into the
constructor of the 1st RemoteServiceServlet called.
What can be disturbing is :
- It returns null even if the session is already initialized by a
classic servlet
- It is not returning null when called
Hi,
the getThreadLocalRequest() as it sound returns the request stored *during*
the request/response in a ThreadLocal. So if it return null it's because it
is not the same thread ;)
On Tue, Jun 8, 2010 at 11:05 AM, KenJi_getpowered wrote:
> Hello every body,
>
> I can't figure out why there is
Hello every body,
I can't figure out why there is a Null Pointer Exception here.
I am trying to share informations through sessions within my
application. I have a regular servlet that sets the session and insert
a login. then I wanted to retrieve that login into a
RemoteServiceServlet with that