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

Unable to select "Add JSF Capability" nor register new TLDs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 2.0.1
    • 2.0.0.GA
    • jsf
    • None

    Description

      Having trouble selecting "Add JSF Capability" on a project checked out through SVN that previously had the capability added by another user (on the same project/branch).

      All options under Project -> JBoss Tools are disabled except for "Add Struts Capability". [see screenshot]

      This prevents the registration of new TLDs, such as IceFaces, through the Pallette Library.

      I was able to successfully accomplish both of these tasks when I initially upgraded to JBoss Tools 2.0GA from Exadel Studio Pro. Now, it seems some settings under .settings is being loaded by other users trying to migrate to JBoss Tools/Eclipse and are now unable to add a new JSF capability, nor register any new TLDs.

      Also see the attached snippets from the eclipse log below:

      eclipse.buildId=M20071023-1652
      java.version=1.6.0_02
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86 -clean
      !ENTRY org.jboss.tools.vpe 4 0 2008-01-18 11:10:28.473
      !MESSAGE 
      !STACK 0
      java.lang.NullPointerException
      	at org.jboss.tools.jst.jsp.editor.TLDRegisterHelper.registerTld(TLDRegisterHelper.java:56)
      	at org.jboss.tools.jst.jsp.editor.TLDRegisterHelper.registerTld(TLDRegisterHelper.java:39)
      	at org.jboss.tools.vpe.editor.context.VpePageContext.registerTaglibs(VpePageContext.java:416)
      	at org.jboss.tools.vpe.editor.context.VpePageContext.rebuildTaglibMap(VpePageContext.java:180)
      	at org.jboss.tools.vpe.editor.context.VpePageContext.setTaglib(VpePageContext.java:155)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addTaglib(VpeVisualDomBuilder.java:1912)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createXmlns(VpeVisualDomBuilder.java:1868)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:362)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:221)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:470)
      	at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.buildDom(VpeVisualDomBuilder.java:192)
      	at org.jboss.tools.vpe.editor.VpeController.init(VpeController.java:221)
      	at org.jboss.tools.vpe.editor.VpeEditorPart$5.load(VpeEditorPart.java:512)
      	at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.onLoadWindow(MozillaEditor.java:461)
      	at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.access$1(MozillaEditor.java:456)
      	at org.jboss.tools.vpe.editor.mozilla.MozillaEditor$4.onLoadWindow(MozillaEditor.java:217)
      	at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.onStateChange(XulRunnerBrowser.java:389)
      	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:597)
      	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)
      

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              chris.simons_jira Chris Simons (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: