jhickman / gwt-customuibinder

Automatically exported from code.google.com/p/gwt-customuibinder
0 stars 0 forks source link

Compiler error with GWT 2.4 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile a new project with GWT 2.4

What is the expected output? What do you see instead?
I obtain an Internal compiler error
java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.messages.MessagesWriter.<init>(Ljava/lang/String;
Lcom/google/gwt/uibinder/rebind/MortalLogger;Ljava/lang/String;Ljava/lang/String
;Ljava/lang/String;)V

What version of the product are you using? On what operating system?
gwt-customuibinder-1.1.0.jar on Windows XP

Please provide any additional information below.

      [ERROR]  Internal compiler error
java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.messages.MessagesWriter.<init>(Ljava/lang/String;
Lcom/google/gwt/uibinder/rebind/MortalLogger;Ljava/lang/String;Ljava/lang/String
;Ljava/lang/String;)V
    at com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generateOnce(CustomUiBinderGenerator.java:148)
    at com.google.gwt.uibinder.rebind.CustomUiBinderGenerator.generate(CustomUiBinderGenerator.java:135)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:257)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:173)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
    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)

Original issue reported on code.google.com by g.rot...@gmail.com on 4 Oct 2011 at 11:38

GoogleCodeExporter commented 9 years ago
I try to fix the problem. In attach there are the 3 file modified.
In GWT 2.4 there is a new strategy of generating UiBinder code but in my modify 
I don't use this new feature.

Original comment by g.rot...@gmail.com on 17 Oct 2011 at 4:30

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry about the delay.  Didn't realize that email notifications weren't getting 
to me.  I have released 1.2.0 to support GWT 2.4.0

Original comment by jus...@jhickman.com on 4 Nov 2011 at 5:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
There is no jar for 1.2.0 on the site. Until Justin posts it, I've compiled it 
into a jar. It works with GWT 2.4. 
http://tjwebb.wordpress.com/2011/11/17/gwt-customuibinder-1-2-0-jar-download/

Original comment by tra...@traviswebb.com on 18 Nov 2011 at 1:53

GoogleCodeExporter commented 9 years ago
I added to Maven Central earlier today.  I had staged the artifacts in sonatype 
earlier this month, but forgot to click the "release" button.   I'll add the 
jar to the download section soon. 

Original comment by jus...@jhickman.com on 18 Nov 2011 at 2:04

GoogleCodeExporter commented 9 years ago
Ok cool. Great work, by the way. 

Original comment by tra...@traviswebb.com on 18 Nov 2011 at 2:35