Monday, April 29, 2013

GWT compilation failed

Hi,

after upgrading the eclipse plugin (Help -> Check for Updates) I cannot compile my project anymore.
I receive the message "GWT compilation failed" (see below).

What can I do?
(GWT 2.5.1)

Thank you
Magnus

-----

Compiling module bcs.bcs
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:434)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:403)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:900)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:625)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:640)
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.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.access$1500(UnifyAst.java:120)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:364)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:433)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:237)
at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:243)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
... 37 more
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:579)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at java.util.ArrayList.readObject(ArrayList.java:696)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:988)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:203)
at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:358)
... 46 more
      [ERROR] at UserAgentAsserter.java(66): GWT.create(UserAgentAsserter$UserAgentProperty.class)
         com.google.gwt.dev.jjs.ast.JMethodCall
      [ERROR] at UserAgentAsserter.java(66): (UserAgentAsserter$UserAgentProperty) GWT.create(UserAgentAsserter$UserAgentProperty.class)
         com.google.gwt.dev.jjs.ast.JCastOperation
      [ERROR] at UserAgentAsserter.java(66): UserAgentAsserter$UserAgentProperty impl = (UserAgentAsserter$UserAgentProperty) GWT.create(UserAgentAsserter$UserAgentProperty.class)
         com.google.gwt.dev.jjs.ast.JDeclarationStatement
      [ERROR] at UserAgentAsserter.java(65): {
  UserAgentAsserter$UserAgentProperty impl = (UserAgentAsserter$UserAgentProperty) GWT.create(UserAgentAsserter$UserAgentProperty.class);
  if (!impl.getUserAgentRuntimeWarning()) {
    return;
  }
  String compileTimeValue = impl.getCompileTimeValue();
  String runtimeValue = impl.getRuntimeValue();
  if (!compileTimeValue.equals(runtimeValue)) {
    this.displayMismatchWarning(runtimeValue, compileTimeValue);
  }
}
         com.google.gwt.dev.jjs.ast.JBlock
      [ERROR] at UserAgentAsserter.java(65): {
  UserAgentAsserter$UserAgentProperty impl = (UserAgentAsserter$UserAgentProperty) GWT.create(UserAgentAsserter$UserAgentProperty.class);
  if (!impl.getUserAgentRuntimeWarning()) {
    return;
  }
  String compileTimeValue = impl.getCompileTimeValue();
  String runtimeValue = impl.getRuntimeValue();
  if (!compileTimeValue.equals(runtimeValue)) {
    this.displayMismatchWarning(runtimeValue, compileTimeValue);
  }
}
         com.google.gwt.dev.jjs.ast.JMethodBody
      [ERROR] at UserAgentAsserter.java(65): public void onModuleLoad();

         com.google.gwt.dev.jjs.ast.JMethod

--
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+unsubscribe@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.
 
 

No comments:

Post a Comment