Title: IllegalStateException when rapidly clicking tree2 component in Jetspeed portlet

I haven’t heard about this one.  Can you try it on a different portal implementation?

 

Stan Silvert

JBoss, Inc.

[EMAIL PROTECTED]

callto://stansilvert


From: Springer, Martin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 6:24 PM
To: [email protected]
Subject: IllegalStateException when rapidly clicking tree2 component in Jetspeed portlet

 

We are using tree2 inside a Jetspeed portlet using the JSR-168 bridge. If we rapidly click on the commandLink in the tree2, we sometimes get the following exception in the console:

java.lang.IllegalStateException: Must be called before the start element is closed (attribute 'id')
...

The portlet shows this exception:

JetspeedRequestDispatcher failed to include servlet resources. (details below)
Exception: java.lang.IllegalStateException
Message: Must be called before the start element is closed (attribute 'width')

Stack Trace:
   org.apache.myfaces.renderkit.html.HtmlResponseWriterImpl.writeAttribute(HtmlResponseWriterImpl.java:325)
   org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttribute(HtmlRendererUtils.java:487)

We can replicate this problem using the simple sample application if we add the portlet.xml to it.

This seems like a problem with the portlet lifecycle vs. the JSF lifecycle.

Has anyone else experienced this problem? If so, do you have a workaround?

Thanks,
Marty

Reply via email to