[jbosstools-issues] [JBoss JIRA] (JBIDE-18055) NullPionterException in VPE Preview Editor initialization

Konstantin Marmalyukov (JIRA) issues at jboss.org
Wed Feb 4 07:24:50 EST 2015


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

Konstantin Marmalyukov updated JBIDE-18055:
-------------------------------------------
    Fix Version/s: 4.3.x
                       (was: 4.3.0.Alpha1)


> NullPionterException in VPE Preview Editor initialization
> ---------------------------------------------------------
>
>                 Key: JBIDE-18055
>                 URL: https://issues.jboss.org/browse/JBIDE-18055
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: visual-page-editor-core
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Denis Golovin
>            Assignee: Konstantin Marmalyukov
>            Priority: Minor
>             Fix For: 4.3.x
>
>
> Exception below can happen sometimes in case re-sizing visual preview part while preview server serving the editor is not started yet.
> {code}java.lang.NullPointerException
> 	at org.jboss.tools.vpe.preview.core.server.VpvServer.getPort(VpvServer.java:66)
> 	at org.jboss.tools.vpe.preview.editor.VpvEditor.formRequestToServer(VpvEditor.java:503)
> 	at org.jboss.tools.vpe.preview.editor.VpvEditor.reload(VpvEditor.java:494)
> 	at org.jboss.tools.vpe.preview.editor.VpvEditorPart.updateVisualEditorVisibility(VpvEditorPart.java:769)
> 	at org.jboss.tools.vpe.preview.editor.VpvEditorPart$5.controlResized(VpvEditorPart.java:386)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> 	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:1393)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:1042)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1435)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:851)
> 	at org.eclipse.swt.custom.SashForm.onDragSash(SashForm.java:288)
> 	at org.eclipse.swt.custom.SashForm$1.handleEvent(SashForm.java:90)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> 	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.sendSelectionEvent(Widget.java:1526)
> 	at org.eclipse.swt.widgets.Sash.gtk_motion_notify_event(Sash.java:396)
> 	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2104)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5510)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4700)
> 	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9074)
> 	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
> 	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> 	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:382)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> 	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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list