|
Re: p2 & gmf errors [message #1403924 is a reply to message #1403912] |
Mon, 28 July 2014 15:24 |
Ed Merks 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 & gmf errors [message #1403963 is a reply to message #1403924] |
Mon, 28 July 2014 18:08 |
|
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 & gmf errors [message #1418675 is a reply to message #1403912] |
Sun, 07 September 2014 12:35 |
|
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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.02989 seconds