[
https://issues.jboss.org/browse/JBIDE-11106?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-11106 at 3/2/12 11:33 AM:
-------------------------------------------------------------------
I tried to reproduce once more and could not. Quite hard for me to do anything about it.
Looking at the stacktrace it looks like the property view is trying to update the url
property of an embedded cartridge. The cartridge then tries to lazy load its url attribute
and looksup it's values which fails for some reason. This shouldn't happen. Out
of the blue I would pretend that the *console* is out of sync with the reality, it is
displaying embedded cartridges that are not present any more or the app they belong to is
not existing any more. Did you delete their app and opened the properties view while the
job was running? Or did you kill the app/embedded cartridge and then tried to look up the
properties of the embedded cartridge in a 2nd eclipse (1.) create it in Eclipse A, 2.)
refresh console in Eclipse B -> have both displaying the same app, but dont display the
properties for them yet. 3.) kill in Eclipse A 4.) open properties for the embedded
cartridge in Eclipse B) ?
was (Author: adietish):
I tried to reproduce once more and could not. Quite hard for me to do anything about
it.
Looking at the stacktrace it looks like the property view is trying to update the url
property of an embedded cartridge. The cartridge then tries to lazy load its url attribute
and looksup it's values which fails for some reason. This shouldn't happen. Out
of the blue I would pretend that the *console* is out of sync with the reality, it is
displaying embedded cartridges that are not present any more or the app they belong to is
not existing any more. Did you delete their app and opened the properties view while the
job was running?
NullPointerException when selecting embedded cartridge on Openshift
console
---------------------------------------------------------------------------
Key: JBIDE-11106
URL:
https://issues.jboss.org/browse/JBIDE-11106
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 3.3.0.Beta1
Reporter: Lucia Jelinkova
Assignee: Lucia Jelinkova
Fix For: 3.3.0.Beta1
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira