Analyzing permutation #1
[ERROR] Unexpected internal compiler error
java.lang.IllegalArgumentException: Identifier already in use: this$0
at
com.google.gwt.dev.js.ast.JsScope.createUniqueObfuscatableName(JsScop
e.java:61)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST$CreateNamesAndScope
sVisitor.endVisit(GenerateJavaScriptAST.java:176)
at
com.google.gwt.dev.jjs.ast.JParameter.traverse(JParameter.java:22)
at
com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:109)
at
com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:36)
at
com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:521)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.execImpl(GenerateJa
vaScriptAST.java:1425)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.exec(GenerateJavaSc
riptAST.java:1380)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile(JavaToJavaScr
iptCompiler.java:336)
at
com.google.gwt.dev.GWTCompiler.realizePermutation(GWTCompiler.java:59
0)
at
com.google.gwt.dev.GWTCompiler.compilePermutations(GWTCompiler.java:3
38)
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)
Another suggestion is to "clean" your project but either running "Clean
project" in eclipse or manually deleting everything in your bin
directory. Sometimes the class files get out of sync.
Thanks,
Eric
What version of GWT are you using? Your stack trace looks similar to
a bug that was fixed in 1.1.10.
Thanks,
Scott
The following is the end of the output with -ALL flag. It tries to
rebind the Sample and fails somewhere. I have only 1 inner class in
Sample, so most likely it is somewhere else, but the compiler does not
tell me where.
Rebinding com.ffpgwt.client.Sample
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.FocusImplOld'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.FocusImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.TextBoxImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.TextBoxImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.TextBoxImpl'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.TextBoxImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.FormPanelImplOpera'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.FormPanelImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.FormPanelImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.FormPanelImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.FormPanelImpl'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.FormPanelImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.PopupImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImpl'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.ui.impl.PopupImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.HistoryImplSafari'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.HistoryImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.HistoryImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.HistoryImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.HistoryImplStandard'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.HistoryImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.DOMImplMozilla'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.DOMImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.DOMImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.DOMImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.DOMImplSafari'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.DOMImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.DOMImplOpera'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.DOMImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <generate-with
class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/>
Checking if all subconditions are true (<all>)
<when-assignable
class='com.google.gwt.user.client.rpc.RemoteService'/>
No, the requested type was not assignable
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.HTTPRequestImplIE6'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.HTTPRequestImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Checking rule <replace-with
class='com.google.gwt.user.client.impl.HTTPRequestImpl'/>
Checking if all subconditions are true (<all>)
<when-type-is
class='com.google.gwt.user.client.impl.HTTPRequestImpl'/>
Not an exact match
No: One or more subconditions was false
Rule did not match
Rebind result was com.ffpgwt.client.TableSample
[ERROR] Unexpected internal compiler error
java.lang.IllegalArgumentException: Identifier already in use: this$0
at
com.google.gwt.dev.js.ast.JsScope.createUniqueObfuscatableName(JsScope.java:61)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST$CreateNamesAndScopesVisitor.endVisit(GenerateJavaScriptAST.java:176)
at com.google.gwt.dev.jjs.ast.JParameter.traverse(JParameter.java:22)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:109)
at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:36)
at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:521)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.execImpl(GenerateJavaScriptAST.java:1425)
at
com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.exec(GenerateJavaScriptAST.java:1380)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile(JavaToJavaScriptCompiler.java:336)
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)
[ERROR] Build failed