[jbosstools-issues] [JBoss JIRA] (JBIDE-12034) Error logged when displaying details of application with cartridges

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Jun 5 11:21:19 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-12034:
-------------------------------------

    Attachment: no-npe-when-url-is-null.patch

    
> Error logged when displaying details of application with cartridges
> -------------------------------------------------------------------
>
>                 Key: JBIDE-12034
>                 URL: https://issues.jboss.org/browse/JBIDE-12034
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.CR1
>            Reporter: Lucia Jelinkova
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.CR1
>
>         Attachments: dont-display-null-links-2.patch, dont-display-null-links.patch, no-npe-when-url-is-null.patch
>
>
> I have an application with embedded cartridge. When I try to display the application details in explorer view (right-click menu -> Details), these are correctly displayed but an error is also logged:
> {code}
> java.lang.NullPointerException
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationDetailsContentProvider.createCartridges(ApplicationDetailsContentProvider.java:59)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationDetailsContentProvider.getElements(ApplicationDetailsContentProvider.java:44)
> 	at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1010)
> 	at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1336)
> 	at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
> 	at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:605)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:805)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:782)
> 	at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:753)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1533)
> 	at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1517)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
> 	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1510)
> 	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
> 	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationDetailsDialog.fillApplicationDetailsTable(ApplicationDetailsDialog.java:86)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationDetailsDialog.createDialogArea(ApplicationDetailsDialog.java:70)
> 	at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationDetailsDialog.createContents(ApplicationDetailsDialog.java:54)
> 	at org.eclipse.jface.window.Window.create(Window.java:431)
> 	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.ShowDetailsAction.run(ShowDetailsAction.java:40)
> 	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.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:601)
> 	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)
> {code}

--
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

        


More information about the jbosstools-issues mailing list