Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Error in closing generated GMF editor
Error in closing generated GMF editor [message #502823] Wed, 09 December 2009 20:00 Go to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi,

Following GMF Editor Tutorial from www.elver.org, I face the problem in closing the generated GMF editor.

On Exit in gmf editor the error i get in console 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

Re: Error in closing generated GMF editor [message #502833 is a reply to message #502823] Wed, 09 December 2009 20:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30644
Registered: July 2009
Senior Member
Syed,

This is the EMF newsgroup not the GMF newsgroup which I've added to the
"to" list of the reply.


Syed Imran wrote:
> Hi,
>
> Following GMF Editor Tutorial from www.elver.org, I face the problem
> in closing the generated GMF editor.
>
> On Exit in gmf editor the error i get in console 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:ResourceImpl and delegation to XMIResourceImpl
Next Topic:[TENEO & SDO] Where is SDO?
Goto Forum:
  


Current Time: Tue Nov 19 03:16:06 GMT 2019

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

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

Back to the top