Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-90

NullPointerException when selecting embedded cartridge on Openshift console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1
    • None
    • None
    • None
    • Hide
      1. Open Error log view
      2. Open OpenShift Express Console view and connect to your account
      3. Select an application that has no cartridges and try to expand the tree node (as if you wanted to see its cartridges)
      4. Right click and select to embed new cartridges
      5. Select phpmyadmin
      6. Right click the application and select Properties
      7. Expand the application and double click mysql cartridge

      RESULT: NullPointerException in the error lol

      Show
      Open Error log view Open OpenShift Express Console view and connect to your account Select an application that has no cartridges and try to expand the tree node (as if you wanted to see its cartridges) Right click and select to embed new cartridges Select phpmyadmin Right click the application and select Properties Expand the application and double click mysql cartridge RESULT: NullPointerException in the error lol

      When I click on the embedded cartridge in the Openshift express console view, I get NullPointerException in Error log. In case the Error log is displayed, I cannot get back to Openshift express console view cause the Error log view is automatically activated Only after I close it I can get back to Openshift express console view.

      java.lang.NullPointerException
      at com.openshift.express.internal.client.EmbeddableCartridge.update(EmbeddableCartridge.java:58)
      at com.openshift.express.internal.client.EmbeddableCartridge.getUrl(EmbeddableCartridge.java:52)
      at org.jboss.tools.openshift.express.internal.ui.viewer.property.EmbeddableCartridgePropertySource.getPropertyValue(EmbeddableCartridgePropertySource.java:50)
      at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues(PropertySheetEntry.java:611)
      at org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:568)
      at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:760)
      at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:973)
      at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)
      at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:363)
      at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
      at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:289)
      at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:60)
      at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
      at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3636)
      at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3159)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
      at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:837)
      at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:823)
      at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:137)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
      at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
      at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2746)
      at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1433)
      at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      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:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      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)

              Unassigned Unassigned
              ljelinko@redhat.com Lucia Jelinkova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: