Fehler beim Schliessen der Anwendung über Datei->Beenden bei geöffnetem Dokument

Beschreibung

Wenn das Program über Datei -> Beenden geschlossen wird und noch ein Dokument offen ist, erscheint eine NullPointer Exception.

java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:4015)
at org.eclipse.ui.internal.Workbench.activate(Workbench.java:3049)
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3074)
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3038)
at ch.scodi.scodi4p.ApplicationWorkbenchWindowAdvisor$2$1.run(ApplicationWorkbenchWindowAdvisor.java:159)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.swt.widgets.Display.release(Display.java:3817)
at org.eclipse.swt.graphics.Device.dispose(Device.java:295)
at com.softmodeler.ui.rcp.RCPApplication.start(RCPApplication.java:169)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

!ENTRY org.eclipse.riena.core 4 0 2015-06-03 11:52:35.389
!MESSAGE Message: , Code: 0, Plugin: com.softmodeler.ui
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:4015)
at org.eclipse.ui.internal.Workbench.activate(Workbench.java:3049)
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3074)
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3038)
at ch.scodi.scodi4p.ApplicationWorkbenchWindowAdvisor$2$1.run(ApplicationWorkbenchWindowAdvisor.java:159)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.swt.widgets.Display.release(Display.java:3817)
at org.eclipse.swt.graphics.Device.dispose(Device.java:295)
at com.softmodeler.ui.rcp.RCPApplication.start(RCPApplication.java:169)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
ERROR: com.softmodeler.osgi.over.slf4j.ext.org.eclipse.equinox.logger -
java.lang.NullPointerException: null
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:4015) ~[na:na]
at org.eclipse.ui.internal.Workbench.activate(Workbench.java:3049) ~[na:na]
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3074) ~[na:na]
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3038) ~[na:na]
at ch.scodi.scodi4p.ApplicationWorkbenchWindowAdvisor$2$1.run(ApplicationWorkbenchWindowAdvisor.java:159) ~[na:na]
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) ~[na:na]
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) ~[na:na]
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) ~[na:na]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) ~[na:na]
at org.eclipse.swt.widgets.Display.release(Display.java:3817) ~[na:na]
at org.eclipse.swt.graphics.Device.dispose(Device.java:295) ~[na:na]
at com.softmodeler.ui.rcp.RCPApplication.start(RCPApplication.java:169) ~[na:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_45]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) ~[org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar:na]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) ~[org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar:na]
at org.eclipse.equinox.launcher.Main.run(Main.java:1465) ~[org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar:na]
at org.eclipse.equinox.launcher.Main.main(Main.java:1438) ~[org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar:na]
ERROR: com.softmodeler.osgi.over.slf4j.ext.Bundle org.eclipse.core.runtime - Message: , Code: 0, Plugin: com.softmodeler.ui

Umgebung

None

Kontaktdaten

None

Notiz

None

Status

Zugewiesene Person

Flavio Donzé

Autor

Christian Iten

Label

None

Auftragstyp

None

Auftragsstatus

None

Kunde

None

Vergütung

None

Betrag

None

Startdatum

None

frühester Endtermin

None

Story Points

None

Komponenten

Lösungsversionen

Betrifft Versionen

4.11.0

Priorität

High
Configure