Delete the gwt-unitCache and try again. On Wednesday, March 20, 2013 3:27:16 AM UTC+1, mdwarne wrote: > > Hi, > > My project compiles and runs OK with GWT 2.5.0. > After upgrading to version 2.5.1 Compiling the project causes an exception > (see below) > > This is using Java EE 6 (Mac OSX) > > Any ideas? > Thanks, > Mike > > > [ERROR] Unexpected internal compiler error > java.lang.RuntimeException: Unexpected IOException on in-memory stream > at > com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:360) > at > com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:670) > at > com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:983) > at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:531) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:637) > at > com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:278) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:229) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:141) > at com.google.gwt.dev.Compiler.run(Compiler.java:232) > at com.google.gwt.dev.Compiler.run(Compiler.java:198) > at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) > at > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) > at > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) > at com.google.gwt.dev.Compiler.main(Compiler.java:177) > Caused by: java.io.InvalidClassException: > com.google.gwt.dev.jjs.ast.JDeclaredType; local class incompatible: stream > classdesc serialVersionUID = -1052417216019896795, local class > serialVersionUID = -8155793964565947646 > at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1580) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1580) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1729) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) > at java.util.ArrayList.readObject(ArrayList.java:593) > at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) > at > java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1852) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1756) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) > at > com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:203) > at > com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:358) > ... 14 more > >
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.