Bug 475800 - Forbid installation of incompatible versions of the Sirius runtime and specification environment at the same time
Summary: Forbid installation of incompatible versions of the Sirius runtime and specif...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-08-25 08:21 EDT by EPP Error Reports CLA
Modified: 2015-08-28 10:41 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2015-08-25 08:21:07 EDT
It should not be possible to install incompatible versions of the Sirius runtime and specification environment at the same time

NoSuchMethodError in NodeStyleDescriptionHideLabelByDefaultFilter.getFeature (32)

The following incident was reported via the automated error reporting:


    code:                   2
    plugin:                 org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948
    message:                Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench".
    fingerprint:            19073873
    exception class:        java.lang.NoSuchMethodError
    exception message:      org.eclipse.sirius.diagram.description.style.StylePackage.getNodeStyleDescription_HideLabelByDefault()Lorg/eclipse/emf/ecore/EAttribute;
    number of children:     0
    
    java.lang.NoSuchMethodError: org.eclipse.sirius.diagram.description.style.StylePackage.getNodeStyleDescription_HideLabelByDefault()Lorg/eclipse/emf/ecore/EAttribute;
    at org.eclipse.sirius.diagram.editor.properties.filters.style.nodestyledescription.NodeStyleDescriptionHideLabelByDefaultFilter.getFeature(NodeStyleDescriptionHideLabelByDefaultFilter.java:32)
    at org.eclipse.sirius.diagram.editor.properties.filters.style.nodestyledescription.NodeStyleDescriptionHideLabelByDefaultFilter.select(NodeStyleDescriptionHideLabelByDefaultFilter.java:49)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryClassSectionFilter.appliesToSelection(TabbedPropertyRegistryClassSectionFilter.java:82)
    at org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor.appliesTo(AbstractSectionDescriptor.java:57)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.adaptDescriptorFor(TabbedPropertyRegistry.java:328)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.filterTabDescriptors(TabbedPropertyRegistry.java:305)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.getTabDescriptors(TabbedPropertyRegistry.java:291)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:730)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:556)
    at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:335)
    at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:237)
    at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:122)
    at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:112)
    at org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:80)
    at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:167)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:164)
    at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
    at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:273)
    at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
    at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:270)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:341)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:356)
    at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:132)
    at org.eclipse.sirius.editor.editorPlugin.SiriusEditor.setSelection(SiriusEditor.java:1232)
    at org.eclipse.sirius.editor.editorPlugin.SiriusEditor$7.selectionChanged(SiriusEditor.java:722)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
    at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1228)
    at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1257)
    at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
    at java.lang.reflect.Method.invoke(null:-1)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
   
  

General Information:

    reported-by:      Jonathan Dumont
    anonymous-id:     06a4c514-6887-4e6b-8d91-0aa391929ee9
    eclipse-build-id: 4.5.0.I20150603-2000
    eclipse-product:  org.eclipse.epp.package.modeling.product
    operating system: Windows8 6.2.0 (x86_64) - win32
    jre-version:      1.7.0_45-b18

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
    2. org.eclipse.core.databinding_1.5.0.v20150422-0725
    3. org.eclipse.core.runtime_3.11.0.v20150405-1723
    4. org.eclipse.e4.core.contexts_1.4.0.v20150421-2214
    5. org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948
    6. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
    7. org.eclipse.equinox.app_1.3.300.v20150423-1356
    8. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
    9. org.eclipse.jface_3.11.0.v20150602-1400
    10. org.eclipse.sirius.diagram_3.0.0.201506090807
    11. org.eclipse.sirius_3.0.0.201506090807
    12. org.eclipse.sirius.editor_2.0.0.201410241344
    13. org.eclipse.swt_3.104.0.v20150528-0211
    14. org.eclipse.ui_3.107.0.v20150507-1945
    15. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
    16. org.eclipse.ui.ide_3.11.0.v20150510-1749
    17. org.eclipse.ui.views_3.8.0.v20150422-0725
    18. org.eclipse.ui.views.properties.tabbed_3.6.100.v20150423-0822

Please note that:
* Messages, stacktraces, and nested status objects may be shortened.
* Bug fields like status, resolution, and whiteboard are sent
  back to reporters.
* The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.

Other Resources:
* Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/55d5badde4b0f0b83a6e733b  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.

This bug was created on behalf of maxime.porhel@xxxxxxxxxxxx.
Comment 1 Jonathan Dumont CLA 2015-08-25 11:12:04 EDT
Hi,

The Eclipse installation from which this error appears was built from an Oomph setup. The thing is the 'base' eclipse version chosen was Mars, and in the setup configuration, the update site : http://download.eclipse.org/sirius/updates/releases/2.0.0/luna was indicated.

It's clear that the error comes from our setup which was not updated, but maybe a check can be added to avoid this ?

Regards,

Jonathan
Comment 2 Esteban DUGUEPEROUX CLA 2015-08-27 10:06:14 EDT
Is it Oomph which provide "http://download.eclipse.org/sirius/updates/releases/2.0.0/luna" p2 repo in choice?

Perhaps we could avoid enforce our MANIFEST.MF range to avoid that.
Comment 3 Jonathan Dumont CLA 2015-08-28 10:41:31 EDT
No it was not proposed by Oomph by default, it was our own setup. 
Don't worry ;)