<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>As a quick status update on GWT emitting Caja, I am currently crashing the Cajoler.  I tried running a small test gadget through the Cajoler in order to get a list of concrete problems with cajoling GWT's current output.  I expected a long list of complaints, but unfortunately the GWT output is so unexpected that the Cajoler crashes before it can form a coherent complaint.</div><div><br class="webkit-block-placeholder"></div><div>Here is the test gadget:</div><div><br></div><div><div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://www.lexspoon.org/rpccalc-tmp/gadget.xml">http://www.lexspoon.org/rpccalc-tmp/gadget.xml</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Here is the top of the stack trace; it looks like a problem with parsing the Javascript.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div>Retrieving <a href="http://www.lexspoon.org/rpccalc-tmp/gadget.xml">http://www.lexspoon.org/rpccalc-tmp/gadget.xml</a> @ null</div><div>LOG:Checkpoint: RewriteHtmlStage at T+1.202489339721288E9 seconds</div><div>Retrieving <a href="http://www.lexspoon.org/rpccalc-tmp/org.lexspoon.gwtscratch.RPCCalc-xs.nocache.js">http://www.lexspoon.org/rpccalc-tmp/org.lexspoon.gwtscratch.RPCCalc-xs.nocache.js</a> @ gadget.xml:2+35@36 - 118@119</div><div>Exception in thread "main" java.lang.ClassCastException: object field must be a string literal, not IntegerLiteral : 1</div><div>        at com.google.caja.parser.js.ObjectConstructor.childrenChanged(ObjectConstructor.java:68)</div><div>        at com.google.caja.parser.AbstractParseTreeNode$MutationImpl.execute(AbstractParseTreeNode.java:383)</div><div>        at com.google.caja.parser.js.ObjectConstructor.&lt;init&gt;(ObjectConstructor.java:47)</div><div>        at com.google.caja.parser.js.Parser.parseExpressionAtom(Parser.java:1098)</div><div>        at com.google.caja.parser.js.Parser.parseOp(Parser.java:741)</div><div>        at com.google.caja.parser.js.Parser.parseExpressionPart(Parser.java:703)</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I went ahead and opened a Caja bug report about it:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://code.google.com/p/google-caja/issues/detail?id=67&amp;sort=-id">http://code.google.com/p/google-caja/issues/detail?id=67&amp;sort=-id</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I know this is a vague bug report, but perhaps there are multiple issues involved, so I went ahead and posted the whole (but small) gadget.  Any technical issues that arise might be better posted to the issue's thread.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-Lex</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div></div></div></div></div></body></html>