[
https://jira.jboss.org/jira/browse/JBIDE-4108?page=com.atlassian.jira.plu...
]
Yahor Radtsevich resolved JBIDE-4108.
-------------------------------------
Fix Version/s: 3.1.0.M1
Resolution: Done
Assignee: Aliaksey Nis (was: Yahor Radtsevich)
It is fixed in the trunk. The fix version is 3.1.0.M1 .
VPE Refresh is broken with NPE
------------------------------
Key: JBIDE-4108
URL:
https://jira.jboss.org/jira/browse/JBIDE-4108
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M1
Environment: JBossTools-ALL-win32-3.1.0.Alpha1-N200903281201-H59
Reporter: Yura Zhishko
Assignee: Aliaksey Nis
Fix For: 3.1.0.M1
Attachments: components.xhtml, error.log, main.css, VisualRefresh.swf
1) Create Seam 2.0.1 project
2) Put attached pages into WebContent folder
3) Open components.xhtml
4) Repeat all steps according to flash video
5) Error appears:
!ENTRY org.eclipse.ui 4 0 2009-03-30 16:41:16.138
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException:
Failed to execute runnable (java.lang.NullPointerException))
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at
org.jboss.tools.vpe.editor.context.VpePageContext.processDisplayEvents(VpePageContext.java:347)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:431)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:632)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:567)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:659)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:571)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:632)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:567)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:659)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:571)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:632)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:567)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:632)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:567)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:632)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:567)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:659)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:571)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:272)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.buildDom(VpeVisualDomBuilder.java:218)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.rebuildDom(VpeVisualDomBuilder.java:248)
at org.jboss.tools.vpe.editor.VpeController.reinitImpl(VpeController.java:2690)
at org.jboss.tools.vpe.editor.VpeController.access$4(VpeController.java:2679)
at org.jboss.tools.vpe.editor.VpeController$10.runInUIThread(VpeController.java:2672)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 22 more
Caused by: java.lang.NullPointerException
at
org.jboss.tools.vpe.xulrunner.editor.XulRunnerVpeUtils.getElementBounds(XulRunnerVpeUtils.java:37)
at
org.jboss.tools.vpe.xulrunner.editor.XulRunnerVpeResizer.show(XulRunnerVpeResizer.java:148)
at
org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.setSelectionRectangle(XulRunnerEditor.java:416)
at
org.jboss.tools.vpe.editor.mozilla.MozillaEditor.setSelectionRectangle(MozillaEditor.java:614)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.setSelectionRectangle(VpeVisualDomBuilder.java:1343)
at
org.jboss.tools.vpe.editor.VpeVisualDomBuilder.setSelectionRectangle(VpeVisualDomBuilder.java:1337)
at
org.jboss.tools.vpe.editor.template.SelectionManager.refreshVisualSelection(SelectionManager.java:336)
at
org.jboss.tools.vpe.editor.VpeController.sourceSelectionChanged(VpeController.java:748)
at
org.jboss.tools.vpe.editor.VpeController.sourceSelectionChanged(VpeController.java:724)
at org.jboss.tools.vpe.editor.VpeController.reinitImpl(VpeController.java:2707)
at org.jboss.tools.vpe.editor.VpeController.access$4(VpeController.java:2679)
at org.jboss.tools.vpe.editor.VpeController$10.runInUIThread(VpeController.java:2672)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 59 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira