Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3463

Cannot launch Camel Editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.12.0, 11.12.0.AM1
    • 11.10.0
    • None
    • None
    • Undefined

      Hi,

      I have received this description from customer ( eric.giguere@opticca.com):

      I’m continuing the Fuse trainings and I’m having a real hard time with the CodeReady package installed in Eclipse. In some projects, I am able to launch the Camel editor but with most, it doesn’t work. I get this exception described in the text file included as attachment.
      
      This morning, I’ve compared the Eclipse files from one project where it works (Spring) with another one that doesn’t (Spring also).
      I’ve compare the .project file, .classpath, and all I found in the .settings directory. I’ve synched both projects where applicable and still, the broken project spits me that error and the editor stays empty.
      
      Any clue to fix this issue? It really is a show-stopper.
      
      

      He also attachech the stack trace:

      org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: Could not initialize class groovy.grape.GrapeIvy
      	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:416)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
      	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
      	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
      	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
      	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:999)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:765)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:730)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:714)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:104)
      	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
      	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
      	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
      	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5048)
      	at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)
      	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
      	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:133)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
      	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
      	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
      	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
      	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
      	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
      	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
      	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:660)
      	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:786)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:400)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1260)
      	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195)
      	at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3100)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
      	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
      	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3068)
      	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3059)
      	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569)
      	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524)
      	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367)
      	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172)
      	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:283)
      	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
      	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
      	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252)
      	at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53)
      	at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215)
      	at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183)
      	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
      	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:802)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
      	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:799)
      	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1118)
      	at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454)
      	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
      	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:270)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:310)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4227)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3837)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	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:401)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class groovy.grape.GrapeIvy
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:377)
      	at groovy.grape.Grape.getInstance(Grape.java:123)
      	at groovy.grape.Grape.addResolver(Grape.java:228)
      	at org.apache.camel.catalog.maven.MavenVersionManager.addMavenRepository(MavenVersionManager.java:86)
      	at org.fusesource.ide.camel.model.service.internal.DynamicCamelCatalog.configureAdditionalRepos(DynamicCamelCatalog.java:56)
      	at org.fusesource.ide.camel.model.service.internal.DynamicCamelCatalog.<init>(DynamicCamelCatalog.java:47)
      	at org.fusesource.ide.camel.model.service.internal.CamelService.createCatalogForNotEmbeddedVersions(CamelService.java:85)
      	at org.fusesource.ide.camel.model.service.internal.CamelService.getCatalog(CamelService.java:65)
      	at org.fusesource.ide.camel.model.service.internal.CamelService.updateMavenRepositoryLookup(CamelService.java:179)
      	at org.fusesource.ide.camel.model.service.core.catalog.cache.CamelCatalogCacheManager.getCamelModelForProject(CamelCatalogCacheManager.java:131)
      	at org.fusesource.ide.camel.model.service.core.catalog.cache.CamelCatalogCacheManager.getCamelModelForProject(CamelCatalogCacheManager.java:90)
      	at org.fusesource.ide.camel.model.service.core.model.AbstractCamelModelElement.getEipByName(AbstractCamelModelElement.java:1417)
      	at org.fusesource.ide.camel.model.service.core.model.AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:132)
      	at org.fusesource.ide.camel.model.service.core.model.GlobalDefinitionCamelModelElement.<init>(GlobalDefinitionCamelModelElement.java:25)
      	at org.fusesource.ide.camel.model.service.core.model.CamelBean.<init>(CamelBean.java:29)
      	at org.fusesource.ide.camel.model.service.core.model.CamelFile.initialize(CamelFile.java:140)
      	at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.readDocumentToModel(CamelIOHandler.java:150)
      	at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
      	at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.loadCamelModel(CamelIOHandler.java:63)
      	at org.fusesource.ide.camel.editor.behaviours.CamelPersistencyBehaviour.loadModel(CamelPersistencyBehaviour.java:100)
      	at org.fusesource.ide.camel.editor.behaviours.CamelPersistencyBehaviour.loadDiagram(CamelPersistencyBehaviour.java:53)
      	at org.eclipse.graphiti.ui.editor.DiagramBehavior.setInput(DiagramBehavior.java:385)
      	at org.eclipse.graphiti.ui.editor.DiagramEditor.setInput(DiagramEditor.java:311)
      	at org.fusesource.ide.camel.editor.CamelDesignEditor.setInput(CamelDesignEditor.java:202)
      	at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:228)
      	at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:224)
      	at org.fusesource.ide.camel.editor.CamelEditor.createDesignPage(CamelEditor.java:314)
      	at org.fusesource.ide.camel.editor.CamelEditor.createPages(CamelEditor.java:221)
      	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:333)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:158)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:365)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:999)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:964)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405)
      	... 93 more
      

      Can anybody please look at it?
      Thank you!

              djelinek Dominik Jelínek
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: