[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5460) VPE NPE exception during bundle loading

Igor Jacy Lino Campista (JIRA) jira-events at lists.jboss.org
Mon Feb 8 07:09:19 EST 2010


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

Igor Jacy Lino Campista updated JBIDE-5460:
-------------------------------------------

    Attachment: npedemo.zip



Ok, after long struggling....

A super downgraded version of a project that has NPE.  

The ".project" file has an linked resource, that if not removed would (indirectly?) influence the VE and show several NPE.

removing that linkedresource will allow the example npedemo\WebContent\html\tableBasic\tableBasic.xhtml   to load at least properly, without NPEs.



> VPE NPE exception during bundle loading
> ---------------------------------------
>
>                 Key: JBIDE-5460
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5460
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.1.0.CR1
>            Reporter: Yura Zhishko
>            Assignee: Yura Zhishko
>             Fix For: 3.1.0.CR2
>
>         Attachments: .project, npedemo.zip, TestComp5.zip, TestComp5toRename.zip
>
>
> 1) Import TestComp5.zip project as jsf project into workspace
> 2) Extract second project and rename it to TestComp5 as a first project
> 3) Open loacally workspace directory and remove TestComp5 project from a first step
> 4) Copy TestComp5 from a second step to workspace directory
> 5) Go to Package Explorer
> 6) Refresh TestComp5 project
> 7) Open WebContent -> pages -> allComponents.xhtml
> RESULT: VE preview is empty and exception in error log
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:3884)
> at org.eclipse.swt.SWT.error(SWT.java:3799)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> 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:194)
> 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:368)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.vpe.editor.bundle.BundleMap.refreshRegisteredBundles(BundleMap.java:100)
> at org.jboss.tools.vpe.editor.bundle.BundleMap.refresh(BundleMap.java:343)
> at org.jboss.tools.vpe.editor.VpeController.refreshTemplates(VpeController.java:1689)
> at org.jboss.tools.vpe.editor.VpeEditorPart$ActivationListener.handleActivation(VpeEditorPart.java:1075)
> at org.jboss.tools.vpe.editor.VpeEditorPart$ActivationListener.access$1(VpeEditorPart.java:1064)
> at org.jboss.tools.vpe.editor.VpeEditorPart$ActivationListener$1.run(VpeEditorPart.java:1059)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
> ... 23 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

        


More information about the jbosstools-issues mailing list