4 Replies Latest reply on Apr 4, 2015 9:16 AM by awizenm

    How to clean up broken BPMN2 Modeler installation in Eclipse Luna SR2 (4.4.2)?

    awizenm

      Hi everyone,

       

      in my Eclipse Luna I have installed the BPMN2 Modeler from this location:

       

      http://download.eclipse.org/bpmn2-modeler/updates/luna/1.1.0

       

      This version worked good in Luna. But after updating Luna (Help -> Check for Updates) BPMN2 Modeller does not work any more.

      Some parts of the BPMN2 Modeller have been updated to the version 1.1.2, but "BPMN2 Modeller - Diagram Editor" is still 1.1.0

       

      Subsequent update tries show the error:

       

      Cannot complete the install because of a conflicting dependency.

        Software being installed: BPMN2 Modeler - Diagram Editor 1.1.2.201502162150 (org.eclipse.bpmn2.modeler.feature.group 1.1.2.201502162150)

        Software currently installed: SDK Feature 1.1.0.201409091530 (org.eclipse.bpmn2.modeler.sdk.feature.group 1.1.0.201409091530)

        Only one of the following can be installed at once:

          BPMN2 Modeler Core 1.1.0.201406111620 (org.eclipse.bpmn2.modeler.core 1.1.0.201406111620)

          BPMN2 Modeler Core 1.1.0.201409091530 (org.eclipse.bpmn2.modeler.core 1.1.0.201409091530)

          BPMN2 Modeler Core 1.0.5.Final (org.eclipse.bpmn2.modeler.core 1.0.5.Final)

          BPMN2 Modeler Core 1.1.2.201502162150 (org.eclipse.bpmn2.modeler.core 1.1.2.201502162150)

        Cannot satisfy dependency:

          From: BPMN2 Modeler - Diagram Editor 1.1.2.201502162150 (org.eclipse.bpmn2.modeler.feature.group 1.1.2.201502162150)

          To: org.eclipse.bpmn2.modeler.core [1.1.2.201502162150]

        Cannot satisfy dependency:

          From: SDK Feature 1.1.0.201409091530 (org.eclipse.bpmn2.modeler.sdk.feature.group 1.1.0.201409091530)

          To: org.eclipse.bpmn2.modeler.core [1.1.0.201409091530]

       

      Any ideas how to clean up the installation and make the Diagram Editor 1.1.2 run?

        • 1. Re: How to clean up broken BPMN2 Modeler installation in Eclipse Luna SR2 (4.4.2)?
          awizenm

          I'm still looking for a solution and I wonder...

           

          Is the Modeler SDK Feature a problem here? Why is it still in version 1.1.0? Why it is not updated to 1.1.2 when automatically updating all BPMN2 Modeler components?

           

          Is there a way to manually update the SDK Feature to 1.1.2?

           

          Is it a bug in the update package?

          • 2. Re: How to clean up broken BPMN2 Modeler installation in Eclipse Luna SR2 (4.4.2)?
            awizenm

            OK, what helps to repair the BPMN2 Modeler in Luna is:

             

            - in Luna go to Help -> Installation Details

            - uninstall all 4 BPMN2 Modeler modules

            - install the Modeler from Update-Site again

            - and ... do not update to Modeler 1.1.2 - as this update misses SDK Feature in the appropriate version

             

             

            (Here is the Issue: Bug 463792 – Update to version 1.1.2 in Eclipse Luna breaks the Modeler installation)

            • 3. Re: How to clean up broken BPMN2 Modeler installation in Eclipse Luna SR2 (4.4.2)?
              bbrodt

              Hi Michael,

               

              I just tried this with a fresh copy of eclipse 4.2.2 and I'm seeing the same problem with updating from 1.1.0 to 1.1.2 - not sure what's going on here, but the SDK feature should probably have been removed from 1.1.2 because it was replaced by the individual "Sources" features. The SDK was originally created as a single installation feature of both editor binary and sources, but since these have been split out it is no longer necessary.

               

              A better workaround is to remove the 1.1.0 SDK feature from your existing installation, then do a Help -> Check for Updates and install the new 1.1.2 bits.

               

              I'll try to fix the 1.1.2 update site by removing the SDK feature, but if this is not possible, we'll just have to live with this workaround.

               

              Bob

              • 4. Re: How to clean up broken BPMN2 Modeler installation in Eclipse Luna SR2 (4.4.2)?
                awizenm

                Hi Bob,

                 

                thank you for checking the issue. The way you describe helps to update to 1.1.2 (remove SDK Feature manually and update the remaining).

                 

                However, I'm sorry to say this, but now the 1.1.2 version of the Modeller doesn't work at all. None of my models can by opened and creating of new models also does not work.

                 

                When I try to open the model I see this:

                 

                modeler112.PNG

                 

                 

                And this is the stack trace in showing in details:

                 

                java.lang.NullPointerException

                    at org.eclipse.bpmn2.modeler.ui.diagram.Bpmn2ToolBehaviorProvider$ProfileSelectionToolEntry.<init>(Bpmn2ToolBehaviorProvider.java:129)

                    at org.eclipse.bpmn2.modeler.ui.diagram.Bpmn2ToolBehaviorProvider.createPaletteProfilesGroup(Bpmn2ToolBehaviorProvider.java:174)

                    at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.updatePalette(BPMN2Editor.java:498)

                    at org.eclipse.bpmn2.modeler.ui.editor.DesignEditor.pageChange(DesignEditor.java:176)

                    at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.pageChange(BPMN2MultiPageEditor.java:359)

                    at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1101)

                    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:366)

                    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:141)

                    at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)

                    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:327)

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                    at java.lang.reflect.Method.invoke(Unknown Source)

                    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)

                    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)

                    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)

                    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)

                    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)

                    at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)

                    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)

                    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)

                    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)

                    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)

                    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)

                    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)

                    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:95)

                    at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)

                    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)

                    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)

                    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)

                    at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)

                    at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)

                    at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)

                    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)

                    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)

                    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

                    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

                    at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)

                    at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)

                    at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)

                    at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)

                    at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)

                    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)

                    at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)

                    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)

                    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)

                    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:705)

                    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:392)

                    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1145)

                    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3210)

                    at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3125)

                    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3107)

                    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

                    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3102)

                    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3066)

                    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)

                    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)

                    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)

                    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

                    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)

                    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)

                    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)

                    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)

                    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)

                    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)

                    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

                    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)

                    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(Native Method)

                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                    at java.lang.reflect.Method.invoke(Unknown Source)

                    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)

                    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)

                    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

                 

                How can this be repaired?