[jbosstools-issues] [JBoss JIRA] Created: (RHDS-294) Open With Red Hat JSP Editor caused Eclipse to Close

Matt Fischer (JIRA) jira-events at lists.jboss.org
Tue Nov 6 18:27:44 EST 2007


Open With Red Hat JSP Editor caused Eclipse to Close
----------------------------------------------------

                 Key: RHDS-294
                 URL: http://jira.jboss.com/jira/browse/RHDS-294
             Project: Red Hat Developer Studio
          Issue Type: Bug
          Components: visualeditor
    Affects Versions: 1.0.0.beta2
         Environment: Windows XP version 2002 SP2. RHDS beta2.
            Reporter: Matt Fischer


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list