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

RHDS crashes when editing in XHTML (facelet) file

    XMLWordPrintable

Details

    Description

      While editing in an XHTML (facelet) file the system reaches a NullPointerException, then the whole IDE stall and it remains for you to quite task-manager-wise..

      Here is the latest log (the whole thing is repeatable as you like, but I uninstalled RHDS Beta 2 and reverted to Beta 1, now everything's fine :

      !ENTRY org.jboss.tools.vpe 4 0 2007-10-15 08:15:45.671
      !MESSAGE
      !STACK 0
      java.lang.NullPointerException
      at org.jboss.tools.jst.jsp.editor.TLDRegisterHelper.registerTld(TLDRegisterHelper.java:54)
      at org.jboss.tools.jst.jsp.editor.TLDRegisterHelper.registerTld(TLDRegisterHelper.java:38)
      at org.jboss.tools.vpe.editor.context.VpePageContext.registerTaglibs(VpePageContext.java:415)
      at org.jboss.tools.vpe.editor.context.VpePageContext.rebuildTaglibMap(VpePageContext.java:179)
      at org.jboss.tools.vpe.editor.context.VpePageContext.setTaglib(VpePageContext.java:154)
      at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addTaglib(VpeVisualDomBuilder.java:1716)
      at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createXmlns(VpeVisualDomBuilder.java:1679)
      at org.jboss.tools.vpe.editor.VpePreviewDomBuilder.createNode(VpePreviewDomBuilder.java:71)
      at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:229)
      at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:457)
      at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.buildDom(VpeVisualDomBuilder.java:198)
      at org.jboss.tools.vpe.editor.mozilla.MozillaPreview.buildDom(MozillaPreview.java:464)
      at org.jboss.tools.vpe.editor.VpeEditorPart$6.load(VpeEditorPart.java:512)
      at org.jboss.tools.vpe.editor.mozilla.MozillaPreview.onLoadWindow(MozillaPreview.java:357)
      at org.jboss.tools.vpe.editor.mozilla.MozillaPreview.access$0(MozillaPreview.java:352)
      at org.jboss.tools.vpe.editor.mozilla.MozillaPreview$1.onLoadWindow(MozillaPreview.java:132)
      at org.jboss.tools.vpe.mozilla.browser.MozillaBrowser.OnStateChange(MozillaBrowser.java:1812)
      at org.jboss.tools.vpe.mozilla.browser.MozillaBrowser$4.method3(MozillaBrowser.java:777)
      at org.jboss.tools.vpe.mozilla.internal.swt.xpl.XPCOMObject.callback3(XPCOMObject.java:263)
      at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2265)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291)
      at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
      at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
      at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      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:508)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

      What is also worthnoting:
      1) the Content assist does not work amymore with the Trinidad lib (tr and trh)
      2) so I added the TLDs of Trinidad to the JBOSS Tools pane by drag and drop to that pane, which worked

      Attachments

        Issue Links

          Activity

            People

              svasilyev_jira Sergey Vasilyev (Inactive)
              wchico2 Wolfgang Chico Toepfer (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: