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 Coderanch by Jerson Chua, 1 year ago
referencesMustNotBeFrozen local class Prog. 1
sun.tools.java.CompilerError: referencesMustNotBeFrozen local class Prog. 1	at sun.tools.java.ClassDefinition.referencesMustNotBeFrozen(ClassDefinition.java:1926)	at sun.tools.java.ClassDefinition.addReference(ClassDefinition.java:1898)	at sun.tools.java.ClassDefinition.getReference(ClassDefinition.java:1891)	at sun.tools.tree.Context.noteReference(Context.java:336)	at sun.tools.tree.Context.makeReference(Context.java:357)	at sun.tools.tree.UplevelReference.codeArguments(UplevelReference.java:351)	at sun.tools.tree.MethodExpression.codeValue(MethodExpression.java:862)	at sun.tools.tree.Expression.code(Expression.java:428)	at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:73)	at sun.tools.javac.SourceMember.code(SourceMember.java:825)	at sun.tools.javac.SourceClass.compileClass(SourceClass.java:2110)	at sun.tools.javac.SourceClass.compile(SourceClass.java:2039)	at sun.tools.javac.Main.compile(Main.java:567)	at sun.tools.javac.Main.main(Main.java:733)