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

Cannot create a Fuse Integration project when selecting a specific runtime with version not proposed in dropdown

XMLWordPrintable

    • Hide
      1. setup a Fuse on EAP runtime 7.0.0
      2. open a New Fuse Integration Project Wizard
      3. on Select a Target Environment choose Standalone / Wildfly/Fuse on EAP and select the configured runtime
      4. on the next page try to select a template
      Show
      setup a Fuse on EAP runtime 7.0.0 open a New Fuse Integration Project Wizard on Select a Target Environment choose Standalone / Wildfly/Fuse on EAP and select the configured runtime on the next page try to select a template
    • Hide
      1. create a project with lower Apache Camel version (for example: 2.17.0.redhat-630310)
      2. select the project in Project Explorer view
      3. open context menu and select Configure --> Change Camel Version
      4. enter desired Apache Camel version and click Finish button
      Show
      create a project with lower Apache Camel version (for example: 2.17.0.redhat-630310 ) select the project in Project Explorer view open context menu and select Configure --> Change Camel Version enter desired Apache Camel version and click Finish button

      I'm unable to create a new Fuse Integration Project for Fuse on EAP 7.0.0. See attached screencast and following error log:

      eclipse.buildId=11.3.0.GA-v20180413-0714-B2352
      java.version=1.8.0_161
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.3.0.GA/target/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.3.0.GA/target/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-11.3.0.GA/target/tmp -clean
      
      org.eclipse.jface
      Error
      Tue May 08 22:52:46 CEST 2018
      Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      
      java.lang.NullPointerException
      	at org.apache.maven.artifact.versioning.ComparableVersion.parseVersion(ComparableVersion.java:357)
      	at org.apache.maven.artifact.versioning.ComparableVersion.<init>(ComparableVersion.java:348)
      	at org.fusesource.ide.foundation.core.util.VersionUtil.isStrictlyLowerThan2200(VersionUtil.java:28)
      	at org.fusesource.ide.projecttemplates.impl.simple.AMQTemplate.isCompatible(AMQTemplate.java:44)
      	at org.fusesource.ide.projecttemplates.wizards.pages.model.TemplateItem.isCompatible(TemplateItem.java:83)
      	at org.fusesource.ide.projecttemplates.wizards.pages.filter.CompatibleEnvironmentFilter.lambda$0(CompatibleEnvironmentFilter.java:39)
      	at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
      	at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1359)
      	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
      	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
      	at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449)
      	at org.fusesource.ide.projecttemplates.wizards.pages.filter.CompatibleEnvironmentFilter.hasCompatibleChildren(CompatibleEnvironmentFilter.java:39)
      	at org.fusesource.ide.projecttemplates.wizards.pages.filter.CompatibleEnvironmentFilter.select(CompatibleEnvironmentFilter.java:32)
      	at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:56)
      	at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:905)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:618)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2606)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1894)
      	at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:668)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1870)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1827)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1813)
      	at org.eclipse.jface.viewers.StructuredViewer.lambda$2(StructuredViewer.java:1508)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1447)
      	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1408)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1508)
      	at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:523)
      	at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(FilteredTree.java:1208)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1467)
      	at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(FilteredTree.java:1196)
      	at org.fusesource.ide.projecttemplates.wizards.pages.FuseIntegrationProjectWizardTemplatePage.validate(FuseIntegrationProjectWizardTemplatePage.java:163)
      	at org.fusesource.ide.projecttemplates.wizards.pages.FuseIntegrationProjectWizardTemplatePage.updateTemplateInfo(FuseIntegrationProjectWizardTemplatePage.java:152)
      	at org.fusesource.ide.projecttemplates.wizards.pages.FuseIntegrationProjectWizardTemplatePage.access$0(FuseIntegrationProjectWizardTemplatePage.java:146)
      	at org.fusesource.ide.projecttemplates.wizards.pages.FuseIntegrationProjectWizardTemplatePage$2.selectionChanged(FuseIntegrationProjectWizardTemplatePage.java:135)
      	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
      	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2180)
      	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1223)
      	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1252)
      	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:240)
      	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:235)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:400)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      	at org.eclipse.jface.window.Window.open(Window.java:794)
      	at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:99)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	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:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      

        1. eap-issue.webm
          2.51 MB
          Tomáš Sedmík

              apupier@redhat.com Aurélien Pupier
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: