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

New server wizard allows finishing dialog from first page

XMLWordPrintable

    • Hide

      1. clean workspace, no runtime defined
      2. open servers view, New -> Server
      3. select any of JBoss AS7+, Wildfly, EAP6+
      4. DONT go to next page, click finish now
      Assert: server is created
      5. right click on server
      assert: NPE in error log

      Show
      1. clean workspace, no runtime defined 2. open servers view, New -> Server 3. select any of JBoss AS7+, Wildfly, EAP6+ 4. DONT go to next page, click finish now Assert: server is created 5. right click on server assert: NPE in error log
    • Hide

      use next page - which will disable finish button - and continue

      Show
      use next page - which will disable finish button - and continue

      Any interaction with server in servers view results in NPE

      org.eclipse.core.runtime.AssertionFailedException: null argument:
      	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
      	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
      	at org.eclipse.core.runtime.Path.initialize(Path.java:641)
      	at org.eclipse.core.runtime.Path.<init>(Path.java:238)
      	at org.eclipse.core.runtime.Path.<init>(Path.java:186)
      	at org.jboss.tools.as.core.server.controllable.subsystems.internal.LocalDeploymentOptionsController.makeRelative(LocalDeploymentOptionsController.java:44)
      	at org.jboss.tools.as.core.server.controllable.subsystems.internal.LocalDeploymentOptionsController.getDeployFolder(LocalDeploymentOptionsController.java:68)
      	at org.jboss.tools.as.core.server.controllable.systems.AbstractJBossDeploymentOptionsController.getDeploymentsRootFolder(AbstractJBossDeploymentOptionsController.java:78)
      	at org.jboss.ide.eclipse.as.ui.subsystems.internal.LocalExploreBehavior.getPath(LocalExploreBehavior.java:105)
      	at org.jboss.ide.eclipse.as.ui.subsystems.internal.LocalExploreBehavior.getDeployDirectory(LocalExploreBehavior.java:62)
      	at org.jboss.ide.eclipse.as.ui.subsystems.internal.LocalExploreBehavior.canExploreServer(LocalExploreBehavior.java:81)
      	at org.jboss.ide.eclipse.as.ui.subsystems.internal.LocalExploreBehavior.canExplore(LocalExploreBehavior.java:34)
      	at org.jboss.tools.as.wst.server.ui.xpl.ExploreActionProvider.fillContextMenu(ExploreActionProvider.java:102)
      	at org.eclipse.ui.navigator.NavigatorActionService$2.run(NavigatorActionService.java:225)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.navigator.NavigatorActionService.addCommonActionProviderMenu(NavigatorActionService.java:219)
      	at org.eclipse.ui.navigator.NavigatorActionService.fillContextMenu(NavigatorActionService.java:174)
      	at org.eclipse.ui.navigator.CommonNavigatorManager.fillContextMenu(CommonNavigatorManager.java:267)
      	at org.eclipse.ui.navigator.CommonNavigatorManager$3.menuAboutToShow(CommonNavigatorManager.java:283)
      	at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:333)
      	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:466)
      	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:461)
      	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:493)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1353)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1334)
      	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:198)
      	at org.eclipse.swt.widgets.Display.runPopups(Display.java:3861)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      	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(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      
      

            rob.stryker Rob Stryker (Inactive)
            rawagner@redhat.com Rastislav Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: