<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Right, I had my JAVA_OPTS set to nothing. I'm not setting it to what you have.<div>I see you've got a fix for this already, thanks for that.<div><br></div><div>- Don</div><div><br><div><div>On Jan 12, 2009, at 10:54 AM, P T Withington wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I believe this is because the build servers (and I) both run with assertions enabled:<br><br>JAVA_OPTS=-ea -Xmx384m<br><br>And there is an assertion:<br><br><blockquote type="cite"> /* This function, unlike the other expression visitors, can be<br></blockquote><blockquote type="cite"> applied to any expression node, so it dispatches based on the<br></blockquote><blockquote type="cite"> node's class. */<br></blockquote><blockquote type="cite"> public SimpleNode visitExpression(SimpleNode node, boolean isReferenced) {<br></blockquote><blockquote type="cite"> assert isExpressionType(node) : "" + node + ": " + (new ParseTreePrinter()).text(node) + " is not an expression";<br></blockquote><br>I guess you have added ModfiedDefinition, but didn't tell isExpression about it?<br><br>On 2009-01-12, at 10:49EST, P T Withington wrote:<br><br><blockquote type="cite">Houston, we have a problem. Don, I get this same error if I try to build locally on trunk...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">lzl:<br></blockquote><blockquote type="cite"> [echo] Compiling /home/svnbuild/builds/12421-openlaszlo-branches-4.2/lps/includes/lfc/LFCdhtml.js<br></blockquote><blockquote type="cite"> [java] Exception in thread "main" java.lang.AssertionError: ModifiedDefinition(): function $lzsc$initialize (message = null) {<br></blockquote><blockquote type="cite"> [java] if (message != null) {<br></blockquote><blockquote type="cite"> [java] this.appendInternal("" + message, message)<br></blockquote><blockquote type="cite"> [java] }} is not an expression<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitExpression(JavascriptGenerator.java:675)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitArrayLiteral(JavascriptGenerator.java:748)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.dispatchExpression(CommonGenerator.java:1105)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitExpression(JavascriptGenerator.java:681)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitExpression(JavascriptGenerator.java:668)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateFunctionCallParameters(JavascriptGenerator.java:796)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitCallExpression(JavascriptGenerator.java:928)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.dispatchExpression(CommonGenerator.java:1123)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitExpression(JavascriptGenerator.java:681)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:857)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:751)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatementList(CommonGenerator.java:881)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:777)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:751)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitClassDefinition(CommonGenerator.java:447)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:774)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitStatement(CommonGenerator.java:751)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.CommonGenerator.visitModifiedDefinition(CommonGenerator.java:915)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitProgram(JavascriptGenerator.java:294)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateInternal(JavascriptGenerator.java:170)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateInclude(JavascriptGenerator.java:347)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitProgram(JavascriptGenerator.java:278)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateInternal(JavascriptGenerator.java:170)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateInclude(JavascriptGenerator.java:347)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitProgram(JavascriptGenerator.java:278)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.visitProgram(JavascriptGenerator.java:208)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translateInternal(JavascriptGenerator.java:170)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.JavascriptGenerator.translate(JavascriptGenerator.java:44)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.Compiler.compile(Compiler.java:358)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.lzsc.compile(lzsc.java:110)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.lzsc.compile(lzsc.java:325)<br></blockquote><blockquote type="cite"> [java] <span class="Apple-tab-span" style="white-space:pre">        </span>at org.openlaszlo.sc.Main.main(Main.java:10)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">--</div><div><br>Don Anderson<br>Java/C/C++, Berkeley DB, systems consultant<br><br>voice: 617-306-2057<br>email: <a href="mailto:dda@ddanderson.com">dda@ddanderson.com</a><br>www: <a href="http://www.ddanderson.com/">http://www.ddanderson.com</a><br></div></div></span></span><br class="Apple-interchange-newline"></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></div></body></html>