|
Re: Critical Exception in latest M7 build [message #1059287 is a reply to message #1059286] |
Thu, 16 May 2013 12:16 |
|
Hi,
I've never seen a linkage error that wasn't a subclass of LinkageError
(e.g., UnsupportedClassVersionError, AbstractMethodError,
NoSuchMethodError)
This looks like a symptom of the multiple versions of the Google Guava
library being published in the Kepler repo that was raised on the
cross-project issues mailing list. How many versions of
com.google.guava do you have installed, and which is Papyrus wired to?
Perhaps it is the 12.0 version that requires a later JRE than what you
are using.
HTH,
Christian
On 2013-05-16 07:17:50 +0000, Marc-Florian Wendland said:
> Hi guys,
>
> have you ever been encountered this exception (se down below) lately?
>
> It first appeared when I tried to save the model, thus, saving was no
> longer possible.
>
> Regards,
> Marc-Florian
>
> eclipse.buildId=4.3.0.I20130502-0800
> java.version=1.7.0_17
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
> Framework arguments: -product org.eclipse.platform.ide
> Command-line arguments: -product org.eclipse.platform.ide -data
> E:\workspaces\fokusmbt\trunk/../runtimes/kepler -dev
> file:E:/workspaces/fokusmbt/trunk/.metadata/.plugins/org.eclipse.pde.core/keplerMigration/dev.properties
> -os win32 -ws win32 -arch x86_64 -consoleLog
>
> Warning
> Thu May 16 09:10:44 CEST 2013
> Save Failed
>
> java.lang.LinkageError: com/google/common/base/Optional
> at
> org.eclipse.papyrus.uml.controlmode.profile.ControlledElementReadOnlyHandler.anyReadOnly(ControlledElementReadOnlyHandler.java:65)
>
> at
> org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:159)
>
> at org.eclipse.papyrus.infra.core.resource.ModelSet.save(ModelSet.java:652)
> at
> org.eclipse.papyrus.infra.core.lifecycleevents.SaveAndDirtyService.doSave(SaveAndDirtyService.java:275)
>
> at
> org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.doSave(CoreMultiDiagramEditor.java:798)
>
> at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
> at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
> at
> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1715)
>
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1712)
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
>
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
>
> at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
> at
> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:421)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:201)
>
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:90)
>
> at
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1215)
>
> at
> org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3480)
>
> at
> org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3434)
>
> at org.eclipse.ui.internal.SaveAllAction.run(SaveAllAction.java:137)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1109)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:993)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
>
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
|
|
|
Re: Critical Exception in latest M7 build [message #1059288 is a reply to message #1059287] |
Thu, 16 May 2013 12:27 |
Ed Willink Messages: 7671 Registered: July 2009 |
Senior Member |
|
|
Hi
There are similarities to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=407686, which I have
RESOLVED WORKSFORME since it went away.
The hazard is that Guava 12 mandates Java 1.6 and is new in Orbit for
M7. However most projects only lower bound Guava at 10.0 so work happily
with whatever comes along.
I think the problem arises if you have a 1.5 JRE available as well as
something more recent. P2 can then install 1.6 only plugins leaving a
hidden problem if a 1.5 launch occurs. This can occur predictably for a
JUnit/application launch with a 1.5 JRE.
The loophole that somehow allows 1.5 usage for plugins is in need of
discovery. Perhaps it's somehow due to a historic build.
Regards
Ed Willink
On 16/05/2013 13:16, Christian W. Damus wrote:
> Hi,
>
> I've never seen a linkage error that wasn't a subclass of LinkageError
> (e.g., UnsupportedClassVersionError, AbstractMethodError,
> NoSuchMethodError)
>
> This looks like a symptom of the multiple versions of the Google Guava
> library being published in the Kepler repo that was raised on the
> cross-project issues mailing list. How many versions of
> com.google.guava do you have installed, and which is Papyrus wired
> to? Perhaps it is the 12.0 version that requires a later JRE than
> what you are using.
>
> HTH,
>
> Christian
>
>
> On 2013-05-16 07:17:50 +0000, Marc-Florian Wendland said:
>
>> Hi guys,
>>
>> have you ever been encountered this exception (se down below) lately?
>>
>> It first appeared when I tried to save the model, thus, saving was no
>> longer possible.
>>
>> Regards,
>> Marc-Florian
>>
>> eclipse.buildId=4.3.0.I20130502-0800
>> java.version=1.7.0_17
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
>> Framework arguments: -product org.eclipse.platform.ide
>> Command-line arguments: -product org.eclipse.platform.ide -data
>> E:\workspaces\fokusmbt\trunk/../runtimes/kepler -dev
>> file:E:/workspaces/fokusmbt/trunk/.metadata/.plugins/org.eclipse.pde.core/keplerMigration/dev.properties
>> -os win32 -ws win32 -arch x86_64 -consoleLog
>>
>> Warning
>> Thu May 16 09:10:44 CEST 2013
>> Save Failed
>>
>> java.lang.LinkageError: com/google/common/base/Optional
>> at
>> org.eclipse.papyrus.uml.controlmode.profile.ControlledElementReadOnlyHandler.anyReadOnly(ControlledElementReadOnlyHandler.java:65)
>>
>> at
>> org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:159)
>>
>> at
>> org.eclipse.papyrus.infra.core.resource.ModelSet.save(ModelSet.java:652)
>> at
>> org.eclipse.papyrus.infra.core.lifecycleevents.SaveAndDirtyService.doSave(SaveAndDirtyService.java:275)
>>
>> at
>> org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.doSave(CoreMultiDiagramEditor.java:798)
>>
>> at
>> org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
>> at
>> org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
>> at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>>
>> at
>> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1715)
>>
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1712)
>> at
>> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
>>
>> at
>> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
>>
>> at
>> org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
>> at
>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:421)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:201)
>>
>> at
>> org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:90)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1215)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3480)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3434)
>>
>> at org.eclipse.ui.internal.SaveAllAction.run(SaveAllAction.java:137)
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
>> at
>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1109)
>>
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:993)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
>>
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04678 seconds