[jbosstools-issues] [JBoss JIRA] (JBIDE-10300) NPE for tld file which is in jar taglib and opened by "JBoss Tools XML Editor"

Vitali Yemialyanchyk (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 11:03:40 EST 2011


NPE for tld file which is in jar taglib and opened by "JBoss Tools XML Editor"
------------------------------------------------------------------------------

                 Key: JBIDE-10300
                 URL: https://issues.jboss.org/browse/JBIDE-10300
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: common/jst/core
    Affects Versions: 3.3.0.M5
            Reporter: Vitali Yemialyanchyk
            Assignee: Alexey Kazakov


1) use https://issues.jboss.org/browse/JBIDE-10173 as example project;
2) add org.jboss.tools.jsf.jsfnature and org.jboss.tools.jst.web.kb.kbnature to the project;
3) open stopka-ui-test\src\main\webapp\test.jspx in VPE;
4) use Ctlr+LMouse click on <stopka:css> to open corresponding tld file;
5) stopka.tld is opened;
6) move the mouse over the editor - and you will get:
Unexpected runtime error while computing a text hover
java.lang.NullPointerException
	at org.jboss.tools.common.el.core.resolver.ELResolverFactoryManager.getResolvers(ELResolverFactoryManager.java:105)
	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:418)
	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:231)
	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:198)
	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:187)
	at org.jboss.tools.jst.jsp.jspeditor.info.FaceletTagInfoHoverProcessor.computeHoverHelp(FaceletTagInfoHoverProcessor.java:91)
	at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getHoverInfo(XMLTagInfoHoverProcessor.java:257)
	at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:145)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list