Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26476

Launcher Application Wizard in the RHDS Central - exceptions appear when working with the UI (location and project name)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.11.0.AM1
    • 4.10.0.AM1
    • central
    • None
    • devex #159 December 2018
    • 13
    • Hide

      1: Open Launcher Application by clicking the "Launcher Application" in central in RHDS
      2: Uncheck and check again the "Use default location" checkbox
      3: The "An error occurred while setting the value." error appears in the "Error log" view (it is a java.lang.NullPointerException)
      4: Start writing the project name in the "Project name" input field - the are "Unhandled exception: java.lang.NullPointerException" errors in the "Error log" view (with each keystroke there will appear 1-2 more Exception)

      Show
      1: Open Launcher Application by clicking the "Launcher Application" in central in RHDS 2: Uncheck and check again the "Use default location" checkbox 3: The "An error occurred while setting the value." error appears in the "Error log" view (it is a java.lang.NullPointerException) 4: Start writing the project name in the "Project name" input field - the are "Unhandled exception: java.lang.NullPointerException" errors in the "Error log" view (with each keystroke there will appear 1-2 more Exception)
    • Workaround Exists
    • Hide

      Enter the "Project name" field in the Wizard first (before manipulation with the location input field and the checkbox).

      Show
      Enter the "Project name" field in the Wizard first (before manipulation with the location input field and the checkbox).

      There are an error in the Launcher Application Wizard in RHDS Central. When the "Use default location" checkbox in the Wizard is unchecked (=false) an then checked again, there appears the "An error occurred while setting the value." exception in the "Error log" view. Right after that, you can start writing the project name and with each keystroke the will appear more exceptions.

      NOTE: Sometimes there will appear "Server ‘org.eclipse.reddeer1’ failed with exception: null. ; version: 2.0.7.v20180504-0806" warning in the "Error log" view

      STACKTRACE 1:

      eclipse.buildId=12.10.0.AM1-v20181023-0915-B3591
      java.version=1.8.0_181
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=cs_CZ
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/zcervink/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/zcervink/.eclipse_keyring
      
      org.eclipse.core.databinding
      Error
      Thu Nov 29 16:42:38 CET 2018
      An error occurred while setting the value.
      
      java.lang.RuntimeException: java.lang.NullPointerException
      	at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:68)
      	at org.eclipse.core.internal.databinding.beans.BeanValueProperty.doSetValue(BeanValueProperty.java:57)
      	at org.eclipse.core.databinding.property.value.ValueProperty.setValue(ValueProperty.java:92)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.doSetValue(SimplePropertyObservableValue.java:103)
      	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:69)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:113)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:113)
      	at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:476)
      	at org.eclipse.core.databinding.ValueBinding.lambda$1(ValueBinding.java:200)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.databinding.ValueBinding.lambda$0(ValueBinding.java:193)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:162)
      	at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:151)
      	at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:47)
      	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:73)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:120)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:64)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:101)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.lambda$0(DecoratingObservableValue.java:76)
      	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:73)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:120)
      	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:85)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:119)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$1(SimplePropertyObservableValue.java:68)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$0(SimplePropertyObservableValue.java:66)
      	at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:72)
      	at org.eclipse.jface.internal.databinding.swt.WidgetListener.handleEvent(WidgetListener.java:59)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4292)
      	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:4116)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3733)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:821)
      	at org.eclipse.jface.window.Window.open(Window.java:797)
      	at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4068)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3735)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:628)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
      	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:391)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
      	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:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      Caused by: java.lang.NullPointerException
      

      STACKTRACE 2:

      eclipse.buildId=12.10.0.AM1-v20181023-0915-B3591
      java.version=1.8.0_181
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=cs_CZ
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/zcervink/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/zcervink/.eclipse_keyring
      
      org.eclipse.core.databinding
      Error
      Thu Nov 29 16:42:42 CET 2018
      Unhandled exception: java.lang.NullPointerException
      
      java.lang.RuntimeException: java.lang.NullPointerException
      	at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:68)
      	at org.eclipse.core.internal.databinding.beans.BeanValueProperty.doSetValue(BeanValueProperty.java:57)
      	at org.eclipse.core.databinding.property.value.ValueProperty.setValue(ValueProperty.java:92)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.doSetValue(SimplePropertyObservableValue.java:103)
      	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:69)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:113)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:113)
      	at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:476)
      	at org.eclipse.core.databinding.ValueBinding.lambda$1(ValueBinding.java:200)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.databinding.ValueBinding.lambda$0(ValueBinding.java:193)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:162)
      	at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:151)
      	at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:47)
      	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:73)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:120)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:64)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:101)
      	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.lambda$0(DecoratingObservableValue.java:76)
      	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:73)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:120)
      	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:85)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:119)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$1(SimplePropertyObservableValue.java:68)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:152)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:156)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:174)
      	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$0(SimplePropertyObservableValue.java:66)
      	at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:72)
      	at org.eclipse.jface.internal.databinding.swt.WidgetListener.handleEvent(WidgetListener.java:59)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4292)
      	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:4116)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3733)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:821)
      	at org.eclipse.jface.window.Window.open(Window.java:797)
      	at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4068)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3735)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:628)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
      	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:391)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
      	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:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      Caused by: java.lang.NullPointerException
      

            jkopriva@redhat.com Josef Kopriva
            zcervink Zbyněk Červinka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: