Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » p2 & gmf errors(Error log shows p2 & gmf errors on an installation from scratch)
p2 & gmf errors [message #1403912] Mon, 28 July 2014 14:41 Go to next message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 438
Registered: March 2011
Senior Member
Hello. I'm using Oomph to install Papyrus using the setup file

http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/plain/releng/org.eclipse.papyrus.oomph/setups/papyrus.setup

While I do get a working environment, I find a couple of errors on the Error log. One seems to be from p2 and the other one from GMF. The details are below. I see that the p2 exception says the BundleContext is no longer valid. Since this is an installation from scratch, I am wondering what is the problem.

I'm on MacOSX 10.9.

Thanks.


The p2 error is as follows:

eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -data /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3

org.eclipse.equinox.p2.core
Error
Mon Jul 28 10:15:04 EDT 2014
FrameworkEvent ERROR

org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.core.Activator.stop() of bundle org.eclipse.equinox.p2.core.
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
	at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
	at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
	at org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
	at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
	... 13 more
Root exception:
java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
	at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
	at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
	at org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
	at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
	at java.lang.Thread.run(Thread.java:744)


And the GMF error:

eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -data /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3

org.eclipse.gmf.runtime.common.ui
Error
Mon Jul 28 10:15:03 EDT 2014
FrameworkEvent ERROR

org.osgi.framework.BundleException: Exception in org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop() of bundle org.eclipse.gmf.runtime.common.ui.
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
	at java.lang.Thread.run(Thread.java:744)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:4441)
	at org.eclipse.swt.SWT.error(SWT.java:4356)
	at org.eclipse.swt.SWT.error(SWT.java:4327)
	at org.eclipse.swt.widgets.Display.error(Display.java:1083)
	at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
	at org.eclipse.swt.widgets.Display.create(Display.java:823)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
	at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
	at org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
	at org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
	at org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
	... 13 more
Root exception:
org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:4441)
	at org.eclipse.swt.SWT.error(SWT.java:4356)
	at org.eclipse.swt.SWT.error(SWT.java:4327)
	at org.eclipse.swt.widgets.Display.error(Display.java:1083)
	at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
	at org.eclipse.swt.widgets.Display.create(Display.java:823)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
	at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
	at org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
	at org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
	at org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
	at org.eclipse.osgi.container.Module.doStop(Module.java:626)
	at org.eclipse.osgi.container.Module.stop(Module.java:488)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
	at java.lang.Thread.run(Thread.java:744)
Re: p2 &amp; gmf errors [message #1403924 is a reply to message #1403912] Mon, 28 July 2014 15:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Ernesto,

Comments below.

On 28/07/2014 4:41 PM, Ernesto Posse wrote:
> Hello. I'm using Oomph to install Papyrus using the setup file
> http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/plain/releng/org.eclipse.papyrus.oomph/setups/papyrus.setup
>
>
> While I do get a working environment, I find a couple of errors on the
> Error log.

We see the first one too. It seems harmless enough but is also
annoying. I don't think there's a bugzilla to track it yet, so please
open one.
> One seems to be from p2 and the other one from GMF.
The GMF one looks more odd. There should be no assumptions about which
thread does the shutdown, and it's odd to do anything with the display
in a bundle shutdown. It even appears they're trying to create a new
display, which seems completely bogus during a shutdown... Better to
ask about that on the GMF newsgroup. Although you never know if
something about they way the IDE is installed is leading to these odd
shutdown problems in general. Perhaps if we track down the first problem
(that we can reproduce) and fix it, this second problem goes away too...
> The details are below. I see that the p2 exception says the
> BundleContext is no longer valid. Since this is an installation from
> scratch, I am wondering what is the problem.
> I'm on MacOSX 10.9.
>
> Thanks.
>
>
> The p2 error is as follows:
>
>
> eclipse.buildId=4.4.0.I20140606-1215
> java.version=1.7.0_51
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.standard.product
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product
> org.eclipse.epp.package.standard.product -data
> /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3
>
> org.eclipse.equinox.p2.core
> Error
> Mon Jul 28 10:15:04 EDT 2014
> FrameworkEvent ERROR
>
> org.osgi.framework.BundleException: Exception in
> org.eclipse.equinox.internal.p2.core.Activator.stop() of bundle
> org.eclipse.equinox.p2.core.
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at
> org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.IllegalStateException: BundleContext is no longer
> valid
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
> at
> org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
> at
> org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
> at
> org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
> at
> org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> ... 13 more
> Root exception:
> java.lang.IllegalStateException: BundleContext is no longer valid
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
> at
> org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
> at
> org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
> at
> org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
> at
> org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at
> org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
>
>
> And the GMF error:
>
>
> eclipse.buildId=4.4.0.I20140606-1215
> java.version=1.7.0_51
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.standard.product
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product
> org.eclipse.epp.package.standard.product -data
> /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3
>
> org.eclipse.gmf.runtime.common.ui
> Error
> Mon Jul 28 10:15:03 EDT 2014
> FrameworkEvent ERROR
>
> org.osgi.framework.BundleException: Exception in
> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop() of
> bundle org.eclipse.gmf.runtime.common.ui.
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at
> org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: org.eclipse.swt.SWTException: Invalid thread access
> at org.eclipse.swt.SWT.error(SWT.java:4441)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Display.error(Display.java:1083)
> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
> at org.eclipse.swt.widgets.Display.create(Display.java:823)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
> at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
> at
> org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
> at
> org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
> at
> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> ... 13 more
> Root exception:
> org.eclipse.swt.SWTException: Invalid thread access
> at org.eclipse.swt.SWT.error(SWT.java:4441)
> at org.eclipse.swt.SWT.error(SWT.java:4356)
> at org.eclipse.swt.SWT.error(SWT.java:4327)
> at org.eclipse.swt.widgets.Display.error(Display.java:1083)
> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
> at org.eclipse.swt.widgets.Display.create(Display.java:823)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
> at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
> at
> org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
> at
> org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
> at
> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at
> org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at
> org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: p2 &amp; gmf errors [message #1403963 is a reply to message #1403924] Mon, 28 July 2014 18:08 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi, Ed, Ernesto,

Papyrus always triggers (somehow, I don't know) the GMF plugin shutdown
trying to create the display again. That problem is definitely not
unique to an Oomph-provisioned Papyrus; it's quite old.

cW


On 2014-07-28 15:24:38 +0000, Ed Merks said:

> Ernesto,
>
> Comments below.
>
> On 28/07/2014 4:41 PM, Ernesto Posse wrote:
>> Hello. I'm using Oomph to install Papyrus using the setup file
>> http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/plain/releng/org.eclipse.papyrus.oomph/setups/papyrus.setup
>>
>>
>> While I do get a working environment, I find a couple of errors on the
>> Error log.
>
> We see the first one too. It seems harmless enough but is also
> annoying. I don't think there's a bugzilla to track it yet, so please
> open one.
>> One seems to be from p2 and the other one from GMF.
> The GMF one looks more odd. There should be no assumptions about which
> thread does the shutdown, and it's odd to do anything with the display
> in a bundle shutdown. It even appears they're trying to create a new
> display, which seems completely bogus during a shutdown... Better to
> ask about that on the GMF newsgroup. Although you never know if
> something about they way the IDE is installed is leading to these odd
> shutdown problems in general. Perhaps if we track down the first
> problem (that we can reproduce) and fix it, this second problem goes
> away too...
>> The details are below. I see that the p2 exception says the
>> BundleContext is no longer valid. Since this is an installation from
>> scratch, I am wondering what is the problem.
>> I'm on MacOSX 10.9.
>>
>> Thanks.
>>
>>
>> The p2 error is as follows:
>>
>>
>> eclipse.buildId=4.4.0.I20140606-1215
>> java.version=1.7.0_51
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
>> Framework arguments: -product org.eclipse.epp.package.standard.product
>> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product
>> org.eclipse.epp.package.standard.product -data
>> /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3
>>
>> org.eclipse.equinox.p2.core
>> Error
>> Mon Jul 28 10:15:04 EDT 2014
>> FrameworkEvent ERROR
>>
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.equinox.internal.p2.core.Activator.stop() of bundle
>> org.eclipse.equinox.p2.core.
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
>>
>> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
>>
>> at java.lang.Thread.run(Thread.java:744)
>> Caused by: java.lang.IllegalStateException: BundleContext is no longer valid
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
>>
>> at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
>>
>> ... 13 more
>> Root exception:
>> java.lang.IllegalStateException: BundleContext is no longer valid
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
>>
>> at
>> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
>>
>> at
>> org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
>>
>> at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
>>
>> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
>>
>> at java.lang.Thread.run(Thread.java:744)
>>
>>
>> And the GMF error:
>>
>>
>> eclipse.buildId=4.4.0.I20140606-1215
>> java.version=1.7.0_51
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
>> Framework arguments: -product org.eclipse.epp.package.standard.product
>> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product
>> org.eclipse.epp.package.standard.product -data
>> /Users/eposse/Development/PapyrusRT/workspaces/papyrus-ws-3
>>
>> org.eclipse.gmf.runtime.common.ui
>> Error
>> Mon Jul 28 10:15:03 EDT 2014
>> FrameworkEvent ERROR
>>
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop() of
>> bundle org.eclipse.gmf.runtime.common.ui.
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
>>
>> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
>>
>> at java.lang.Thread.run(Thread.java:744)
>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:4441)
>> at org.eclipse.swt.SWT.error(SWT.java:4356)
>> at org.eclipse.swt.SWT.error(SWT.java:4327)
>> at org.eclipse.swt.widgets.Display.error(Display.java:1083)
>> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
>> at org.eclipse.swt.widgets.Display.create(Display.java:823)
>> at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
>> at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
>> at
>> org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
>>
>> at
>> org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
>>
>> at
>> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
>>
>> ... 13 more
>> Root exception:
>> org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:4441)
>> at org.eclipse.swt.SWT.error(SWT.java:4356)
>> at org.eclipse.swt.SWT.error(SWT.java:4327)
>> at org.eclipse.swt.widgets.Display.error(Display.java:1083)
>> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
>> at org.eclipse.swt.widgets.Display.create(Display.java:823)
>> at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
>> at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
>> at
>> org.eclipse.gmf.runtime.common.ui.util.DisplayUtils.getDisplay(DisplayUtils.java:41)
>>
>> at
>> org.eclipse.gmf.runtime.common.ui.util.UIModificationValidator.dispose(UIModificationValidator.java:208)
>>
>> at
>> org.eclipse.gmf.runtime.common.ui.internal.CommonUIPlugin.stop(CommonUIPlugin.java:83)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
>>
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
>>
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
>>
>> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
>>
>> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
>> at org.eclipse.osgi.container.Module.stop(Module.java:488)
>> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
>> at
>> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
>>
>> at java.lang.Thread.run(Thread.java:744)
Re: p2 &amp; gmf errors [message #1418675 is a reply to message #1403912] Sun, 07 September 2014 12:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 28.07.2014 um 16:41 schrieb Ernesto Posse:
> org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.core.Activator.stop() of bundle
> org.eclipse.equinox.p2.core.
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.IllegalStateException: BundleContext is no longer valid
> at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
> at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
> at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
> at org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
> at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> ... 13 more
> Root exception:
> java.lang.IllegalStateException: BundleContext is no longer valid
> at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:559)
> at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:497)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.remember(AbstractRepositoryManager.java:879)
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.stop(AbstractRepositoryManager.java:1075)
> at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.stop(ProvisioningAgent.java:134)
> at org.eclipse.equinox.internal.p2.core.Activator.unregisterAgent(Activator.java:262)
> at org.eclipse.equinox.internal.p2.core.Activator.stop(Activator.java:248)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145)
> at org.eclipse.osgi.container.Module.doStop(Module.java:626)
> at org.eclipse.osgi.container.Module.stop(Module.java:488)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160)
> at java.lang.Thread.run(Thread.java:744)
>
I hope that we've fixed this problem via:

443466: Exception "BundleContext is no longer valid" in AbstractRepositoryManager.stop()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=443466

It would be great if you could confirm that your exception doesn't come anymore.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: p2 &amp; gmf errors [message #1426939 is a reply to message #1418675] Fri, 19 September 2014 12:57 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hello,

about the GMF stacktrace: this is a reported GMF issue with Luna https://bugs.eclipse.org/bugs/show_bug.cgi?id=424074 which will be fixed in next maintenance release.

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team

[Updated on: Fri, 19 September 2014 12:58]

Report message to a moderator

Previous Topic:Git clone task how-to
Next Topic:Perform set up tasks and user.setup
Goto Forum:
  


Current Time: Fri Apr 26 02:26:19 GMT 2024

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

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

Back to the top