Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Unexpected internal compiler error with 1.1.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
david.tinker@gmail.com  
View profile  
 More options Aug 20 2006, 3:53 am
From: "david.tin...@gmail.com" <david.tin...@gmail.com>
Date: Sun, 20 Aug 2006 07:53:10 -0000
Local: Sun, Aug 20 2006 3:53 am
Subject: Unexpected internal compiler error with 1.1.0
Hi Guys

I am busy trying to upgrade our GWT project to use the 1.1.0 release
and got this error. Our code was working perfectly with 1.0.21.

    Analyzing permutation #1
       [ERROR] Unexpected internal compiler error
 com.google.gwt.dev.jjs.impl.InternalCompilerException: Error during
dispatch
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispat ch(GenerateJavaAST.java:286)
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispPr ocessStatement(GenerateJavaAST.java:318)
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.proces sMethod(GenerateJavaAST.java:1094)
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.proces sType(GenerateJavaAST.java:253)
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST.exec(GenerateJavaAST.java:1814)
     at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile(JavaToJavaScriptCom piler.java:267)
     at
com.google.gwt.dev.GWTCompiler.realizePermutation(GWTCompiler.java:590)
     at
com.google.gwt.dev.GWTCompiler.compilePermutations(GWTCompiler.java:338)
     at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:287)
     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:621)
     at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:189)
 Caused by: java.lang.NullPointerException
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.proces sStatement(GenerateJavaAST.java:1222)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispat ch(GenerateJavaAST.java:274)
     ... 10 more

Anyone know how to work around this?

I am about to start the tedious process of commenting out sections of
our 13k lines of client code to isolate the problem :(

Cheers
David


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Blum  
View profile  
 More options Aug 20 2006, 4:15 am
From: "Scott Blum" <sco...@google.com>
Date: Sun, 20 Aug 2006 08:15:18 -0000
Local: Sun, Aug 20 2006 4:15 am
Subject: Re: Unexpected internal compiler error with 1.1.0
If my calculations are correct, you have a for statement somewhere with
a missing test expression.  Something like:

for (int i = 0; ; ++i) {

}

I'll get this fix into the next release.

Thanks,
Scott


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
david.tinker@gmail.com  
View profile  
 More options Aug 20 2006, 5:18 am
From: "david.tin...@gmail.com" <david.tin...@gmail.com>
Date: Sun, 20 Aug 2006 09:18:01 -0000
Local: Sun, Aug 20 2006 5:18 am
Subject: Re: Unexpected internal compiler error with 1.1.0
Thanks for the quick response!

Yep putting in a "true" instead of the empty tests solved the problem!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google