Re: Issue while upgrading to to GWT 2.5RC build

1,975 views
Skip to first unread message

Ajax

unread,
Oct 29, 2012, 7:19:11 AM10/29/12
to google-we...@googlegroups.com
You might have a corrupt gwt-user.jar; if your SHA checksum doesn't match the one from code.google.com/p/google-web-toolkit/ then you should unzip a fresh copy.

Either that, or your IDE is recompiling the classes as the builder is running, so it gets an IO exception when trying to lookup classes.

A good rule of thumb, if you have Build Automatically enabled in your IDE, don't save any files until your compile hits the Compiling Permutations stage.

On Friday, July 13, 2012 2:00:50 AM UTC-6, Sandeep Shetty wrote:
I am getting the below error when updating to GWT 2.5RC from GWT 2.4.
I updated the following jars: gwt-dev.jar,gwt-servlet.jar,gwt-servlet-deps.jar, gwt-user.jar. 
Please let me know solutions or if i am doing something wrong.
Any help will be  appreciate.


The error:
 [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/E:/Sandeep/views/Sandeep_vblrwndv002_build-catfish-ui/cn/tools/gwt/core/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    Validating units:
     [java]       Ignored 2 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    Validating units:
     [java]       Ignored 2 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    [ERROR] An internal compiler exception occurred
     [java] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
     [java] at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:41)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
     [java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
     [java] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:426)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:395)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:902)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:627)
     [java] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:604)
     [java] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
     [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
     [java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
     [java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
     [java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
     [java] Caused by: java.lang.RuntimeException: Unexpected IOException on in-memory stream
     [java] at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:324)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:672)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1024)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:940)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:678)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1024)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:940)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:678)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:944)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:678)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1024)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:940)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:678)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1085)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.access$800(UnifyAst.java:120)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:333)
     [java] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:240)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] ... 32 more
     [java] Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java] at java.io.InvalidClassException.<init>(InvalidClassException.java:62)
     [java] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:573)
     [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1594)
     [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1507)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1743)
     [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
     [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1958)
     [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1882)
     [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1764)
     [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)

Ajax

unread,
Oct 29, 2012, 7:20:19 AM10/29/12
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages