Skip to content

Instantly share code, notes, and snippets.

@hns
Created August 16, 2012 10:19
Show Gist options
  • Save hns/3369080 to your computer and use it in GitHub Desktop.
Save hns/3369080 to your computer and use it in GitHub Desktop.
hannes@t61:~/git/rhino$ java -jar build/rhino1_7R5pre/js.jar -opt 0 -f build/tests/shell.js build/tests/js1_5/Regress/regress-111557.js
Exception in thread "main" java.lang.NullPointerException
at org.mozilla.javascript.CodeGenerator.addGoto(CodeGenerator.java:1167)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:346)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:276)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:276)
at org.mozilla.javascript.CodeGenerator.generateICodeFromTree(CodeGenerator.java:113)
at org.mozilla.javascript.CodeGenerator.compile(CodeGenerator.java:83)
at org.mozilla.javascript.Interpreter.compile(Interpreter.java:194)
at org.mozilla.javascript.Context.compileImpl(Context.java:2397)
at org.mozilla.javascript.Context.compileString(Context.java:1344)
at org.mozilla.javascript.Context.compileString(Context.java:1333)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:591)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:556)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:527)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100)
at org.mozilla.javascript.Context.call(Context.java:498)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:158)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:136)
hannes@t61:~/git/rhino$ java -jar build/rhino1_7R5pre/js.jar -opt 9 -f build/tests/shell.js build/tests/js1_5/Regress/regress-111557.js
Exception in thread "main" java.lang.RuntimeException: 149
at org.mozilla.javascript.CodeGenerator.badTree(CodeGenerator.java:226)
at org.mozilla.javascript.CodeGenerator.visitExpression(CodeGenerator.java:965)
at org.mozilla.javascript.CodeGenerator.visitExpression(CodeGenerator.java:554)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:383)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:276)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:276)
at org.mozilla.javascript.CodeGenerator.visitStatement(CodeGenerator.java:276)
at org.mozilla.javascript.CodeGenerator.generateICodeFromTree(CodeGenerator.java:113)
at org.mozilla.javascript.CodeGenerator.generateFunctionICode(CodeGenerator.java:104)
at org.mozilla.javascript.CodeGenerator.generateNestedFunctions(CodeGenerator.java:189)
at org.mozilla.javascript.CodeGenerator.generateICodeFromTree(CodeGenerator.java:109)
at org.mozilla.javascript.CodeGenerator.compile(CodeGenerator.java:83)
at org.mozilla.javascript.Interpreter.compile(Interpreter.java:194)
at org.mozilla.javascript.Context.compileImpl(Context.java:2397)
at org.mozilla.javascript.Context.compileString(Context.java:1344)
at org.mozilla.javascript.Context.compileString(Context.java:1333)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:591)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:556)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:527)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100)
at org.mozilla.javascript.Context.call(Context.java:498)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:158)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:136)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment