Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
3.0
-
None
-
None
-
Operating System: All
Platform: All
-
29805
Description
If you use the $remove$ in the middle of the template, you can get a NPE.
An example HTML template:
<span jwcid="loopThreaded">
<span jwcid="repeatIndent"> </span><span jwcid="$remove$">
I hate it when the layout is dependent on there not being any
spaces!
</span> · <b jwcid="markMostRecent"><a
jwcid="linkToMessageDetail"><span jwcid="threadedLinkSubject"/></a></b>
<span class="smalltext">by
<a href="#" jwcid="threadedLinkPoster"><span jwcid="@Insert"
value="ognl:threadedMessage.fullName"/></a>
on <span jwcid="insertThreadedLinkPostTime"/>
</span>
Stack Trace:
org.apache.tapestry.AbstractMarkupWriter.printRaw
(AbstractMarkupWriter.java:749)
org.apache.tapestry.parse.TextToken.render(TextToken.java:89)
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
org.apache.tapestry.components.Foreach.renderComponent(Foreach.java:122)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)