http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java?rev=HEAD&content-type=text/plain
The way you describe it ("randomly") makes it sound like a thread synchronization problem.
Since you can reproduce it, would you mind trying to debug it?
Stefano Mazzocchi wrote:
I've been randomly experiencing empty XSP pages and the following stacktrace being sent to stderr
java.lang.ExceptionInInitializerError: corrupted file parser2.rsc
at org.eclipse.jdt.internal.compiler.parser.Parser.<clinit>(Parser.java:364)
at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:113)
at org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:441)
does anybody know what's wrong?
Stefano.