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

NPE in KarafRuntimeFragment.getHomeVersionWarning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.3.0.AM1, 11.3.0
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      not found yet.
      I was playing with a Fuse 7.2 server and trying to edit it:

      Show
      not found yet. I was playing with a Fuse 7.2 server and trying to edit it:

      Description

      !ENTRY org.eclipse.ui 4 0 2019-03-28 09:49:48.598
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      	at java.base/java.io.File.<init>(File.java:276)
      	at org.fusesource.ide.server.karaf.ui.runtime.v2x.KarafRuntimeFragment.getHomeVersionWarning(KarafRuntimeFragment.java:78)
      	at org.fusesource.ide.server.karaf.ui.runtime.v2x.KarafRuntimeFragment.getErrorString(KarafRuntimeFragment.java:95)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment.updateErrorMessage(RuntimeWizardFragment.java:225)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment.updatePage(RuntimeWizardFragment.java:215)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment$1.modifyText(RuntimeWizardFragment.java:158)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)
      	at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2886)
      	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4917)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4771)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4770)
      	at org.eclipse.swt.internal.win32.OS.CallWindowProc(Native Method)
      	at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:263)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4867)
      	at org.eclipse.swt.widgets.Text.windowProc(Text.java:2530)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4770)
      	at org.eclipse.swt.internal.win32.OS.SetWindowText(Native Method)
      	at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:2369)
      	at org.eclipse.swt.widgets.Text.setText(Text.java:2200)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment.fillNameWidgets(RuntimeWizardFragment.java:109)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment.fillWidgets(RuntimeWizardFragment.java:122)
      	at org.jboss.ide.eclipse.as.wtp.ui.wizard.RuntimeWizardFragment.createComposite(RuntimeWizardFragment.java:81)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.createControl(TaskWizardPage.java:46)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.createPageControls(TaskWizard.java:414)
      	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:685)
      	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:577)
      	at org.eclipse.jface.window.Window.create(Window.java:431)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1099)
      	at org.eclipse.jface.window.Window.open(Window.java:788)
      	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart.showWizard(OverviewEditorPart.java:883)
      	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart.editRuntime(OverviewEditorPart.java:855)
      	at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart$5.linkActivated(OverviewEditorPart.java:402)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:215)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:309)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.lambda$3(AbstractHyperlink.java:117)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	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:566)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	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:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1449)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aurelien.pupier Aurélien Pupier
                Reporter:
                aurelien.pupier Aurélien Pupier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: