Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [TENEO & GMF] problem in closeDataStore function
[TENEO & GMF] problem in closeDataStore function [message #503478] Mon, 14 December 2009 11:44
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi,

Following tutorial from www.elver.org, I face the problem in closeDataStore
function while closing the generated GMF editor.

On Exit in gmf editor the error i get is:

!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
scewaewsystem.diagram.part.ScewaewsystemDiagramEditorPlugin. stop() of
bundle ScewaEWSystem.diagram.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
top(BundleContextImpl.java:863)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWork
er(BundleHost.java:474)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp
end(AbstractBundle.java:546)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu
ndle(Framework.java:1098)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d
ecFWSL(StartLevelManager.java:593)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d
oSetStartLevel(StartLevelManager.java:261)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.s
hutdown(StartLevelManager.java:216)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl
e.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(
Framework.java:685)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra
mework.java:583)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl
ipseStarter.java:409)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.NullPointerException
at scewaewsystem.diagram.db.StoreController.closeDataStore(Stor
eController.java:45)
at scewaewsystem.diagram.part.ScewaewsystemDiagramEditorPlugin.
stop(ScewaewsystemDiagramEditorPlugin.java:83)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2
..run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
top(BundleContextImpl.java:836)
.... 19 more
Root exception:
java.lang.NullPointerException
at scewaewsystem.diagram.db.StoreController.closeDataStore(Stor
eController.java:45)
at scewaewsystem.diagram.part.ScewaewsystemDiagramEditorPlugin.
stop(ScewaewsystemDiagramEditorPlugin.java:83)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2
..run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
top(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWork
er(BundleHost.java:474)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp
end(AbstractBundle.java:546)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu
ndle(Framework.java:1098)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d
ecFWSL(StartLevelManager.java:593)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d
oSetStartLevel(StartLevelManager.java:261)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.s
hutdown(StartLevelManager.java:216)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl
e.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(
Framework.java:685)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra
mework.java:583)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl
ipseStarter.java:409)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Please guide me how to solve this.

Kindly,

Syed Imran
Previous Topic:Initialize diagram file problems...
Next Topic:SVG
Goto Forum:
  


Current Time: Tue Apr 13 20:55:47 GMT 2021

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

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

Back to the top