Hey all,
Just upgraded to 5.1.0.2 and am getting this exception:
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: A
document must have exactly one root element. Element <html> is already the
root element. [at classpath:com/inavero/pulse/pages/report/Edit.tml, line
78]
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeforeRenderBodyPhase.render(ComponentPageElementImpl.java:302)
at
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74)
... 74 more
Caused by: java.lang.IllegalStateException: A document must have exactly one
root element. Element <html> is already the root element.
at
org.apache.tapestry5.internal.services.MarkupWriterImpl.element(MarkupWriterImpl.java:147)
Component works fine before upgrade but breaks after. Exception is on the
'writer.element("li")' line in beforeRenderBody. Here is the component
source: http://pastebin.com/m16768df7
Thanks!
Zack
--
View this message in context:
http://www.nabble.com/A-document-must-have-exactly-one-root-element-exception-on-5.1.0.2-upgrade.-tp23014335p23014335.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]