Hi,

I've just upgraded from 1.4.60 to 1.5.2 and am now getting an internal
compiler error with my code:

     [java] Compiling permutations
     [java]    Analyzing permutation #1
     [java]       [ERROR] An internal compiler exception occurred
     [java] com.google.gwt.dev.jjs.InternalCompilerException: Error
constructing Java AST
     [java]     at com.google.gwt.dev.jjs.impl.GenerateJavaAST
$JavaASTGenerationVisitor.translateException(GenerateJavaAST.java:
2325)
.
.
.
     [java] Caused by: java.lang.NoSuchMethodError:
com.google.gwt.dev.jjs.ast.JClassLiteral.<init>(Lcom/google/gwt/dev/
jjs/ast/JProgram;Lcom/google/gwt/dev/jjs/ast/JType;)V
     [java]     at
com.google.gwt.dev.jjs.ast.JProgram.getLiteralClass(JProgram.java:501)
     [java]     at
com.google.gwt.dev.jjs.ast.JNewArray.createDims(JNewArray.java:44)
     [java]     at com.google.gwt.dev.jjs.impl.GenerateJavaAST
$JavaASTGenerationVisitor.processExpression(GenerateJavaAST.java:800)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at com.google.gwt.dev.jjs.impl.GenerateJavaAST
$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:429)
     [java]     ... 18 more
     [java]          [ERROR] at Animation.java(49): new
Animation[animations.size()]
     [java]
org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression
     [java]          [ERROR] at Animation.java(49): Animation[]
curAnimations = new Animation[animations.size()];
     [java]
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration
     [java]          [ERROR] at Animation.java(47): private static
void updateAnimations();
     [java]
     [java]             com.google.gwt.dev.jjs.ast.JMethod
     [java]          [ERROR] at Animation.java(28): abstract class
Animation extends Object
     [java]             com.google.gwt.dev.jjs.ast.JClassType
     [java] [ERROR] Build failed
     [java] Java Result: 1

Now I have narrowed this down so that it looks like it's something in
the rocket-gwt (0.53) lib that's causing the issue as removing that
library solves the problem. However I'm reporting it here (as well as
Rocket) as a NoSuchMethodError shouldn't really happen at all in the
compiler?

Steve

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to