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

NPE when cancelling the Domain creation as part of an Application creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Beta2
    • 3.3.0.CR1
    • openshift
    • None
    • Hide
      1. EXEC: Have a user with NO domain
      2. EXEC: Open the Create Application Wizard from the OpenShift Explorer with the user already logged in (to avoid the Credentials page)
      3. EXEC: hit 'Cancel' on the Domain dialog
      4. EXEC: see the error in the log
      Show
      EXEC: Have a user with NO domain EXEC: Open the Create Application Wizard from the OpenShift Explorer with the user already logged in (to avoid the Credentials page) EXEC: hit 'Cancel' on the Domain dialog EXEC: see the error in the log

    Description

      java.lang.NullPointerException
      at org.eclipse.jface.window.Window.initializeBounds(Window.java:758)
      at org.eclipse.jface.dialogs.Dialog.initializeBounds(Dialog.java:714)
      at org.eclipse.jface.window.Window.create(Window.java:435)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
      at org.eclipse.jface.window.Window.open(Window.java:790)
      at org.jboss.tools.openshift.express.internal.ui.action.CreateApplicationAction.run(CreateApplicationAction.java:49)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

      Attachments

        1. loop.png
          loop.png
          108 kB
        2. npe.png
          npe.png
          229 kB

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: