org.mozilla.javascript.EvaluatorException: Encountered code generation error while compiling function "null": generated bytecode for method exceeds 64K limit. (dist/parser.js#45)

Google Groups | Thatcher | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Envjs html parser silently fails to load without -opt -1

    Google Groups | 7 years ago | Thatcher
    org.mozilla.javascript.EvaluatorException: Encountered code generation error while compiling function "null": generated bytecode for method exceeds 64K limit. (dist/parser.js#45)

    Root Cause Analysis

    1. org.mozilla.javascript.EvaluatorException

      Encountered code generation error while compiling function "null": generated bytecode for method exceeds 64K limit. (dist/parser.js#45)

      at org.mozilla.javascript.Context.reportRuntimeError()
    2. Rhino
      Main.main
      1. org.mozilla.javascript.Context.reportRuntimeError(Context.java:950)
      2. org.mozilla.javascript.optimizer.Codegen.reportClassFileFormatException(Codegen.java:209)
      3. org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:342)
      4. org.mozilla.javascript.optimizer.Codegen.compileToClassFile(Codegen.java:195)
      5. org.mozilla.javascript.optimizer.ClassCompiler.compileToClassFiles(ClassCompiler.java:187)
      6. org.mozilla.javascript.tools.jsc.Main.processSource(Main.java:276)
      7. org.mozilla.javascript.tools.jsc.Main.main(Main.java:73)
      7 frames