[jbosstools-issues] [JBoss JIRA] (JBIDE-13071) Text Hoover on faces-config.xml from jar: Unexpected runtime error while computing a text hover

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Thu Nov 15 16:41:21 EST 2012


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

Daniel Azarov reassigned JBIDE-13071:
-------------------------------------

    Assignee: Victor Rubezhny  (was: Daniel Azarov)


verified, no exceptions any more
                
> Text Hoover on faces-config.xml from jar: Unexpected runtime error while computing a text hover
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13071
>                 URL: https://issues.jboss.org/browse/JBIDE-13071
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 4.0.0.Beta2
>         Environment: Ubuntu, jbdevstudio-product-eap-universal-6.0.0.Beta2-v20121107-1854-B62.jar
>            Reporter: Daniel Azarov
>            Assignee: Victor Rubezhny
>             Fix For: 4.0.0.CR1
>
>
> 1. Start Studio
> 2. Select "Hellow World JSF" project example from JBoss Central
> 3. Open faces-config.xml from richfaces-components-ui-4.2.0.Final.jar in Faces Config Editor, switch to "Source" tab and try to point mouse to different xml tags
> FAIL:
> {code}
> java.lang.IllegalArgumentException: Path must include project and resource name: /
> 	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
> 	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
> 	at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
> 	at org.jboss.tools.common.el.core.ELReference.getResource(ELReference.java:106)
> 	at org.jboss.tools.common.el.core.ELReference.getText(ELReference.java:174)
> 	at org.jboss.tools.common.el.core.ELReference.getSourceText(ELReference.java:134)
> 	at org.jboss.tools.common.el.core.ELReference.getEl(ELReference.java:164)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillElReferencesForRegionNode(PageContextFactory.java:798)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillElReferencesForNode(PageContextFactory.java:777)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForNode(PageContextFactory.java:606)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:597)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:431)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:236)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:199)
> 	at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:180)
> 	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:134)
> 	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list