Bug 283371 - Exception on OSGi shutdown
Summary: Exception on OSGi shutdown
Status: RESOLVED INVALID
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-07-14 01:16 EDT by Ralf Zahn CLA
Modified: 2010-01-27 09:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Zahn CLA 2009-07-14 01:16:40 EDT
I run the RAP demo with a PDE launch.
When calling the shutdown command on the console after testing the demo (only resizing the window), I get the following stacktrace:

2009-07-14 07:08:59.314:/:WARN:  ERROR:  Could not execute org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDestroy(SessionStoreEvent).
java.lang.NullPointerException
	at org.eclipse.ui.internal.preferences.SessionScope.getNode(SessionScope.java:67)
	at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getStorePreferences(ScopedPreferenceStoreCore.java:225)
	at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getPreferenceNodes(ScopedPreferenceStoreCore.java:267)
	at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.internalGet(ScopedPreferenceStoreCore.java:458)
	at org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getBoolean(ScopedPreferenceStoreCore.java:370)
	at org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean(ScopedPreferenceStore.java:446)
	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:896)
	at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:870)
	at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1136)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1134)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1096)
	at org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDestroy(Workbench.java:219)
	at org.eclipse.rwt.internal.service.SessionStoreImpl.doValueUnbound(SessionStoreImpl.java:174)
	at org.eclipse.rwt.internal.service.SessionStoreImpl.access$0(SessionStoreImpl.java:165)
	at org.eclipse.rwt.internal.service.SessionStoreImpl$1.run(SessionStoreImpl.java:50)
	at org.eclipse.rwt.internal.lifecycle.UIThread.processShutdown(UIThread.java:97)
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:127)
	at java.lang.Thread.run(Thread.java:735)

Platform: RAP projects from CVS in local workspace in combination with the rap-runtime-1.2.0-R-20090616-1425 (RAP plug-ins replaced by local workspace projects)
Comment 1 Rüdiger Herrmann CLA 2010-01-27 09:18:44 EST
I can't reproduce the described issue. Shutdown works without exception.
Please reopen if you have more information.