Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Jboss shutdown exception(Ctrl+C in Jboss causes NPE)
Jboss shutdown exception [message #529568] Mon, 26 April 2010 12:44 Go to next message
Cristina Petra is currently offline Cristina PetraFriend
Messages: 14
Registered: July 2009
Junior Member
My RAP application is deployed in JBoss.

Each time I shutdown the server I get an exception. The same exception I get also with jetty, when stopped.
And as I noticed, the exception doesn't occur when the session times out before the shutdown is performed.

I use RAP 1.3 M5, but it was the same also with RAP 1.2.

I am not sure if I am doing something wrong or it is a common problem, platform related. Any hints would be highly appreciated.

This is my exception (RAP 1.3 M5) :

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localho st].[/app]] Exception while executing dispose-listener.
java.lang.NullPointerException
at org.eclipse.rap.ui.internal.preferences.SessionScope.getNode (SessionScope.java:67)
at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getStor ePreferences(ScopedPreferenceStoreCore.java:225)
at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getPref erenceNodes(ScopedPreferenceStoreCore.java:267)
at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.interna lGet(ScopedPreferenceStoreCore.java:458)
at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getBool ean(ScopedPreferenceStoreCore.java:370)
at org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean( ScopedPreferenceStore.java:446)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 07)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:7 81)
at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1047 )
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1045)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1007)
at org.eclipse.ui.internal.Workbench$ShutdownHandler.handleEven t(Workbench.java:131)
at org.eclipse.swt.widgets.Display.sendDisposeEvent(Display.jav a:697)
at org.eclipse.swt.widgets.Display.release(Display.java:681)
at org.eclipse.swt.graphics.Device.dispose(Device.java:177)
at org.eclipse.rwt.internal.lifecycle.UIThread.processShutdown( UIThread.java:137)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:132)
at java.lang.Thread.run(Thread.java:595)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)


Thank you in advance,
Cristina

[Updated on: Mon, 26 April 2010 14:22]

Report message to a moderator

Re: Jboss shutdown exception [message #529772 is a reply to message #529568] Tue, 27 April 2010 07:44 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Cristina,

are you referring to RAP 1.3 M6? M7 isn't out yet.
What you describe sounds like a bug. If you can provide steps how to
reproduce this problem, please open a bugzilla.

Regards
Rüdiger


On 26.04.2010 14:44, Cristina wrote:
> My RAP application is deployed in JBoss.
>
> Each time I shutdown the server I get an exception. The same exception I
> get also with jetty, when stopped. And as I noticed, the exception
> doesn't occur when the session times out before the shutdown is performed.
>
> I use RAP 1.3 M5, but it was the same also with RAP 1.2.
>
> I am not sure if I am doing something wrong or it is a common problem,
> platform related. Any hints would be highly appreciated.
>
> This is my exception (RAP 1.3 M7) :
>
> ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localho
> st].[/app]] Exception while executing dispose-listener.
> java.lang.NullPointerException
> at org.eclipse.rap.ui.internal.preferences.SessionScope.getNode
> (SessionScope.java:67)
> at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getStor
> ePreferences(ScopedPreferenceStoreCore.java:225)
> at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getPref
> erenceNodes(ScopedPreferenceStoreCore.java:267)
> at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.interna
> lGet(ScopedPreferenceStoreCore.java:458)
> at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getBool
> ean(ScopedPreferenceStoreCore.java:370)
> at org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean(
> ScopedPreferenceStore.java:446)
> at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 07)
> at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:7 81)
> at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1047 )
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1045)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1007)
> at org.eclipse.ui.internal.Workbench$ShutdownHandler.handleEven
> t(Workbench.java:131)
> at org.eclipse.swt.widgets.Display.sendDisposeEvent(Display.jav a:697)
> at org.eclipse.swt.widgets.Display.release(Display.java:681)
> at org.eclipse.swt.graphics.Device.dispose(Device.java:177)
> at org.eclipse.rwt.internal.lifecycle.UIThread.processShutdown(
> UIThread.java:137)
> at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont
> roller.run(RWTLifeCycle.java:132)
> at java.lang.Thread.run(Thread.java:595)
> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
>
> Thank you in advance,
> Cristina
>
>


--
Rüdiger Herrmann
http://eclipsesource.com
Re: Jboss shutdown exception [message #529800 is a reply to message #529772] Tue, 27 April 2010 09:29 Go to previous message
Cristina Petra is currently offline Cristina PetraFriend
Messages: 14
Registered: July 2009
Junior Member
Hello Rüdiger,

Many thanks for your reply.
I am using RAP 1.3 M5, sorry for the typo.

I will fill a bug report and provide the steps.

Best Regards,
Cristina
Previous Topic:RAP on iPhone mobile safari
Next Topic:RAP at JAX ?
Goto Forum:
  


Current Time: Tue Nov 30 03:01:34 GMT 2021

Powered by FUDForum. Page generated in 0.01760 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top