Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Graceful shutdown
Graceful shutdown [message #133922] Fri, 22 May 2009 09:47 Go to next message
Eclipse User
Originally posted by: markus.wolf.nmmn.com

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
--
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

http://www.nmmn.com
Tel.: +49 40 284 118-0 - Fax: +49 40 284118-999
Softwareentwicklung LLynch: -720
Re: Graceful shutdown [message #133935 is a reply to message #133922] Fri, 22 May 2009 14:22 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1773
Registered: July 2009
Senior Member
Hi Markus,

it seems that you ran into this bug:
262089: [Display] dispose() causes NPE
https://bugs.eclipse.org/bugs/show_bug.cgi?id=262089

Best,
Ivan

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
>
Previous Topic:Information on defaults Preferences
Next Topic:how to setting encoding in webappBuilder.xml
Goto Forum:
  


Current Time: Wed Jul 23 20:28:34 EDT 2014

Powered by FUDForum. Page generated in 0.01454 seconds