[ https://issues.apache.org/jira/browse/WICKET-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465747 ]
Erik van Oosten commented on WICKET-218: ---------------------------------------- The problem is that the code tries to read beyond the comment even when the comment is exactly at the end of the rawMarkup. > Removing comments from markup can fail > -------------------------------------- > > Key: WICKET-218 > URL: https://issues.apache.org/jira/browse/WICKET-218 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.2.4 > Reporter: Erik van Oosten > Attachments: MarkupParserPatch.txt > > > Markup with comments in it sometimes causes Wicket to crash with a nasty > StringIndexOutOfBoundsException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira