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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Thatcher, 10 months ago
Encountered code generation error while compiling function "null": generated bytecode for method exceeds 64K limit. (dist/parser.js#45)
via htmlunit by chief_vetinari
, 1 year ago
Method "addComponentRequest" not found in "com.gargoylesoftware.htmlunit.javascript.host.Script".
via GitHub by hauschke
, 2 years ago
Can't find method com.google.refine.RefineServlet.cacheClass(object). (file:/C:/XXXX/openrefine-2.6-beta.1/webapp/extensions/grefine-rdf-extension-0.9.0/module/MOD-INF/controller.js#82) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
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(Context.java:950)
at org.mozilla.javascript.optimizer.Codegen.reportClassFileFormatException(Codegen.java:209)
at org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:342)
at org.mozilla.javascript.optimizer.Codegen.compileToClassFile(Codegen.java:195)
at org.mozilla.javascript.optimizer.ClassCompiler.compileToClassFiles(ClassCompiler.java:187)
at org.mozilla.javascript.tools.jsc.Main.processSource(Main.java:276)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.