[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5542) Potential NullPointerException in VPE openned on file from project without JBossTools nature

Yura Zhishko (JIRA) jira-events at lists.jboss.org
Mon Dec 21 12:08:30 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12501070#action_12501070 ] 

Yura Zhishko commented on JBIDE-5542:
-------------------------------------

It seems like a duplicated of https://jira.jboss.org/jira/browse/JBIDE-5460 and was fixed in http://fisheye.jboss.org/changelog/JBossTools/?cs=19275. But Denis, could you provide me an environment (JBT/JBDS version) that you used to reproduce it?

> Potential NullPointerException in VPE openned on file from project without JBossTools nature
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-5542
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5542
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.1.0.CR1
>            Reporter: Denis Golovin
>            Assignee: Yura Zhishko
>             Fix For: 3.1.0.CR2
>
>
> I cannot provide exact steps to reproduce it but stack trace tells me that that might happen for any none JBossTools project. For me it happens on project with JSF capabilities. To fix this problem on JBossTools JSF project, it should be closed/opened and VPE starts working.
> 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:3468)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
> 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:597)
> 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)
> 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)
> ... 22 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