Sunday, May 29, 2011

I am using xsrf and I am getting Compilation error ?

Hi,

I am using GWT 2.3 with MVP frame work, also I am using xsrf in my module
when I try to compile my module I am getting following error 

[ERROR] Unexpected
java.lang.ExceptionInInitializerError
at com.google.gwt.dev.javac.CompiledClass.<clinit>(CompiledClass.java:36)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.createCompiledClass(JdtCompiler.java:269)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:240)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:690)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:215)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:406)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:299)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
at com.google.gwt.dev.Compiler.run(Compiler.java:215)
at com.google.gwt.dev.Compiler.run(Compiler.java:187)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:166)
Caused by: java.lang.RuntimeException: Unable to initialize byte cache
at com.google.gwt.dev.util.DiskCache.<init>(DiskCache.java:85)
at com.google.gwt.dev.util.DiskCache.<clinit>(DiskCache.java:66)
... 18 more
Caused by: java.io.IOException: The directory or file cannot be created
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at java.io.File.createTempFile(File.java:1830)
at com.google.gwt.dev.util.DiskCache.<init>(DiskCache.java:75)
... 19 more


Any idea why this error appear when I compile ?.



--
Regards
Suresh Babu G



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment