I try to shutdown our RWT application with disposing the base shell.
I think the eventloop should be left then and the application should
terminate.
But when the shell is disposed I get this exception:
15:44:59.995|ERROR||
org.apache.juli.logging.DirectJDKLog |
Servlet.service() for servlet rapServlet threw exception
java.lang.NullPointerException
at org.eclipse.rwt.internal.lifecycle.DisplayUtil.getLCA
(DisplayUtil.java:31) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
at org.eclipse.rwt.internal.lifecycle.Render.execute
(Render.java:27) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle
(RWTLifeCycle.java:209) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle
$UIThreadController.run(RWTLifeCycle.java:120) [org.eclipse.rap.rwt-1.2.0-
M7.jar:na]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_13]
Any idea on how to do a graceful shutdown? Or am I just missing something.
Thanks
Markus Wolf
--
NMMN - New Media Markets & Networks GmbH
Langbehnstrasse 6, 22761 Hamburg
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona - UStID DE 812 699 852 - HRB 71102 Hamburg
HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82
Markus Wolf wrote:
> Hi,
>
> I try to shutdown our RWT application with disposing the base shell.
> I think the eventloop should be left then and the application should
> terminate.
> But when the shell is disposed I get this exception:
>
> 15:44:59.995|ERROR||
> org.apache.juli.logging.DirectJDKLog |
> Servlet.service() for servlet rapServlet threw exception
> java.lang.NullPointerException
> at org.eclipse.rwt.internal.lifecycle.DisplayUtil.getLCA
> (DisplayUtil.java:31) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
> at org.eclipse.rwt.internal.lifecycle.Render.execute
> (Render.java:27) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle
> (RWTLifeCycle.java:209) [org.eclipse.rap.rwt-1.2.0-M7.jar:na]
> at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle
> $UIThreadController.run(RWTLifeCycle.java:120) [org.eclipse.rap.rwt-1.2.0-
> M7.jar:na]
> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_13]
>
> Any idea on how to do a graceful shutdown? Or am I just missing something.
>
> Thanks
> Markus Wolf
>