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

NPE when opening preview tab

XMLWordPrintable

      A:
      1. Open any HTML page with JBoss Tools HTML Editor
      2. Open Preview tab
      3. Restart Eclipse
      Eclipse fails to start

      or
      B:
      1. Open any HTML page with JBoss Tools HTML Editor
      2. Open Source tab
      3. Restart Eclipse
      4. Click on Preview tab:

      java.lang.NullPointerException
      	at org.jboss.tools.vpe.preview.editor.VpvEditorPart.getPreviewWebBrowser(VpvEditorPart.java:903)
      	at org.jboss.tools.jst.web.ui.internal.editor.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:316)
      	at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:294)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
      	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3110)
      	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1794)
      	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:283)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	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:379)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
      	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:606)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      

            kmarmaliykov Konstantin Marmalyukov (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: