Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 1013 by amoore: java.lang.IndexOutOfBoundsException cajoling HTML with sidebyside option
http://code.google.com/p/google-caja/issues/detail?id=1013 What revision of the cajoler exhibits the problem? On what browser and OS? 3382 FF3 OSX What steps will reproduce the problem? 1. cajole_html -a -r sidebyside -i gadget.html -o gadget.vo.js What is the expected output? No Error What do you see instead? java.lang.IndexOutOfBoundsException: Index: 271, Size: 271 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at com.google.caja.render.SourceSnippetRenderer.addEvidenceForCurrentMark (SourceSnippetRenderer.java:243) at com.google.caja.render.SourceSnippetRenderer.processCurrentMark (SourceSnippetRenderer.java:225) at com.google.caja.render.SourceSnippetRenderer.noMoreTokens (SourceSnippetRenderer.java:196) at com.google.caja.plugin.PluginCompilerMain.writeFileNonDebug (PluginCompilerMain.java:243) at com.google.caja.plugin.PluginCompilerMain.writeFile (PluginCompilerMain.java:212) at com.google.caja.plugin.PluginCompilerMain.run (PluginCompilerMain.java:125) at com.google.caja.plugin.PluginCompilerMain.main (PluginCompilerMain.java:329) Please provide any additional information below. Works fine without the sidebyside option. sidebyside option works when cajoling script files. Attachments: gadget.html 6.4 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
