[jbosstools-issues] [JBoss JIRA] (JBIDE-19934) NPE when opening a HTML file

Vlado Pakan (JIRA) issues at jboss.org
Mon Jul 20 09:00:07 EDT 2015


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

Vlado Pakan closed JBIDE-19934.
-------------------------------


I was not able to replicate this issue with JBDS Beta2-v20150717-1420-B67 therefore I'm closing this issue.

> NPE when opening a HTML file
> ----------------------------
>
>                 Key: JBIDE-19934
>                 URL: https://issues.jboss.org/browse/JBIDE-19934
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.3.0.Alpha2, 4.3.0.Beta1
>            Reporter: Gorkem Ercan
>            Assignee: Daniel Azarov
>            Priority: Critical
>             Fix For: 4.3.0.Beta2
>
>
> Got the following NPE when opening a view on an angular/hybrid mobile project. I do not think it is related to angular though.
> eclipse.buildId=unknown
> java.version=1.8.0_25
> java.vendor=Oracle Corporation
> org.eclipse.ui.workbench
> Error
> Thu Jun 04 11:10:36 EDT 2015
> Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
> java.lang.NullPointerException
> 	at org.jboss.tools.jst.web.ui.palette.internal.html.impl.PaletteModelImpl.getPreferredExpandedCategory(PaletteModelImpl.java:214)
> 	at org.jboss.tools.jst.web.ui.palette.model.PaletteModel$PL.partActivated(PaletteModel.java:140)
> 	at org.eclipse.ui.internal.PartService$1.run(PartService.java:84)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.PartService.partActivated(PartService.java:81)
> 	at org.eclipse.ui.internal.WorkbenchWindow$WWinPartService.partActivated(WorkbenchWindow.java:3056)
> 	at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:4813)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4810)
> 	at org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.java:4798)
> 	at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:202)
> 	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$3.run(PartServiceImpl.java:242)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:239)
> 	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:702)
> 	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:630)
> 	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:625)
> 	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195)
> 	at org.eclipse.ui.internal.WorkbenchPage.access$24(WorkbenchPage.java:3102)
> 	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3084)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3079)
> 	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3043)
> 	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3033)
> 	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:541)
> 	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:500)
> 	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
> 	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
> 	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:268)
> 	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:233)
> 	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
> 	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
> 	at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
> 	at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:229)
> 	at org.eclipse.ui.navigator.CommonNavigatorManager$2.open(CommonNavigatorManager.java:191)
> 	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
> 	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> 	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168)
> 	at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:449)
> 	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275)
> 	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)
> 	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4203)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4045)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3672)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1112)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:993)
> 	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:138)
> 	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:483)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list