]
Viacheslav Kabanovich resolved JBIDE-1379.
------------------------------------------
Resolution: Done
Open With Red Hat JSP Editor caused Eclipse to Close
----------------------------------------------------
Key: JBIDE-1379
URL:
http://jira.jboss.com/jira/browse/JBIDE-1379
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.CR1
Environment: Windows XP version 2002 SP2. RHDS beta2.
Reporter: Matt Fischer
Assigned To: Viacheslav Kabanovich
Fix For: 2.1
Attachments: RHDS-294 no crash but npe.log, RHDS-294.zip
The problem all along has been opening a .jsp file with Red Hat JSP Editor is causing
Eclipse to crash. I originally thought it was the <jsp:include ...> tag, but when I
attempted to open the "included" file, I found that it crashed eclipse as well.
So I went step by step to created the file (I have pasted the code below).
The important(?) part is when I select file->new jsp file, entered name, blank
template, select JSF Core, JSF HTML and MyFaces Tomahawk, the code assist only offered
seven tags for <t: (<>t:document, <>t:documentBody, <>t:documentHead,
<>t:dojoInitializer, <>headerLink, <>t:schedule, <>t:selectItems
and <>JSP expression - JSP expression <%=..%>). Subsequent openings displayed
all tags.
If I save the file with <t:htmlTag...>, close the file, then reopen with Red Hat
JSP Editor , it crashes. If I open with the JPS Editor, remove the tag, save basically a
blank file, I can open it with the Red Hat JSP Editor.
Opening with the JSP Editor offered all the tags for <t:. If the tags are there in
Content Assist when editing...the file will open OK using Red Hat JSP Editor.
Is it another TLD problem?
I can produce screenshots and email them and/or provide more steps if you can't
duplicate from this. The steps I followed are these.
1. new blank file, add taglibs
2. paste in t:panelGrid - save - close - Open with Red Hat JSP Editor - OK
3. paste in f:facet and a4j:outputPanel - save - close - Open with Red Hat JSP Editor -
OK
4. paste in t:htmlTag - save - close - Open with Red Hat JSP Editor - CRASH EVERY TIME
File:
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://myfaces.apache.org/tomahawk" prefix="t"
%>
<t:panelGrid id="new" forceId="true" styleClass="innner"
columns="1"
cellpadding="3" cellspacing="2" border="0"
columnClasses="jsfColumnC">
<f:facet name="header">
<t:outputText
value="<strong><u>#{bundle.renameLightbox}</u></strong>"
escape="false" />
</f:facet>
<a4j:outputPanel ajaxRendered="true">
<t:messages globalOnly="true" showDetail="true"
warnClass="entryAlert"
errorClass="entryAlert" infoClass="entryAlert" />
</a4j:outputPanel>
<t:htmlTag value="hr" />
</t:panelGrid>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: