[JBoss JIRA] (JBIDE-9912) NPE when moving mouse over a tag
by Alexey Kazakov (Created) (JIRA)
NPE when moving mouse over a tag
--------------------------------
Key: JBIDE-9912
URL: https://issues.jboss.org/browse/JBIDE-9912
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.3.0.M4
EXECUTE: Import tck project from o.j.t.cdi.core.test plug-in
EXECUTE: Open home.xhtml
EXECUTE: Move mouse over <h:graphicImage value="/img/seamlogo.png" alt="Seam logo"/> (line #22 - "/img/seamlogo.png")
FAILURE: See Eclipse log:
{code}
java.lang.NullPointerException
at org.eclipse.jst.jsf.facelet.core.internal.cm.ElementCMAdapter.getLength(ElementCMAdapter.java:109)
at org.eclipse.wst.xml.core.internal.contentmodel.basic.CMNamedNodeMapImpl.<init>(CMNamedNodeMapImpl.java:40)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getCMAttributeDeclaration(XMLTagInfoHoverProcessor.java:206)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.computeTagAttValueHelp(XMLTagInfoHoverProcessor.java:135)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.computeRegionHelp(XMLTagInfoHoverProcessor.java:111)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.computeHoverHelp(XMLTagInfoHoverProcessor.java:86)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getHoverInfo(XMLTagInfoHoverProcessor.java:257)
at org.eclipse.jst.jsf.facelet.ui.internal.hover.FaceletHover.getHoverInfo(FaceletHover.java:58)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:145)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:132)
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[JBoss JIRA] (JBIDE-11248) Invalid web.xml warning for welcome-file and error-page
by Cody Lerum (JIRA)
Cody Lerum created JBIDE-11248:
----------------------------------
Summary: Invalid web.xml warning for welcome-file and error-page
Key: JBIDE-11248
URL: https://issues.jboss.org/browse/JBIDE-11248
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M5
Environment: Nightly Build as of 3/8/2012
Reporter: Cody Lerum
web.xml shows warning "file name references to login.jsp that does not exist in web content"
for
{code}
<welcome-file-list>
<welcome-file>login.jsf</welcome-file>
</welcome-file-list>
{code}
and "location references to /error/403.jsp that does not exist in web content"
for
{code}
<error-page>
<error-code>403</error-code>
<location>/error/403.jsf</location>
</error-page>
{code}
This just changed in a recent nightly and the actual pages are .xhtml not jsp
--
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
13 years, 6 months