Is it some way for passing Session object from current thread to a new one ? When I invoked remote service via Service.doInvoke(…) from original server context - everything was working fine. But when I run my new thread and try to do it there, I have NullPointerException during invoke execution. I think it is because the Service.getSession() within my new thread is NULL. I tried to take Session object from original thread and passed it into my thread constructor, then used it for invoked the remote service via another method Service.doInvoke(String, Session, IData) but it doesn’t work too, with the same exception. So, now I have no ideas how I can solve this problem, may be somebody knows another way for do that ?
Even I am getting the same error. Can you please help me if this got resolved. please let me know how to pass session object and do the rest of the stuff so that i can invoke the service using doInvoke.