Neseek77 / gwt-ent

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

Won't compile with GWT 2.2 #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Upgrade to GWT 2.2
2.Recompile my app
3.

What is the expected output? What do you see instead?

I expect a successful GWT compile

Instead I see:

Compiling module com.appmeum.brokerapp.client.brokerapp
   Scanning for additional dependencies: jar:file:/Users/slehman/Documents/eclipse/brokerapp/lib/gwtent.jar!/com/gwtent/reflection/client/TypeOracle.java
      Computing all possible rebind results for 'com.gwtent.reflection.client.TypeOracle'
         Rebinding com.gwtent.reflection.client.TypeOracle
            Invoking generator com.gwtent.gen.reflection.Reflection__ProxyGenerator
               [ERROR] Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.gwtent.gen.reflection.GenExclusionCompositeReflection$1.exclude(GenExclusionCompositeReflection.java:40)
    at com.gwtent.gen.GenExclusionCompositeImpl.exclude(GenExclusionCompositeImpl.java:37)
    at com.gwtent.gen.LogableSourceCreator.genExclusion(LogableSourceCreator.java:92)
    at com.gwtent.gen.LogableSourceCreator.generate(LogableSourceCreator.java:105)
    at com.gwtent.gen.reflection.Reflection__ProxyGenerator.generate(Reflection__ProxyGenerator.java:33)
    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:662)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:248)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
    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:175)
    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:145)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:517)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
    at com.google.gwt.dev.Compiler.run(Compiler.java:215)
    at com.google.gwt.dev.Compiler.run(Compiler.java:187)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:166)
   [ERROR] Errors in 'jar:file:/Users/slehman/Documents/eclipse/brokerapp/lib/gwtent.jar!/com/gwtent/reflection/client/TypeOracle.java'
      [ERROR] Line 24:  Failed to resolve 'com.gwtent.reflection.client.TypeOracle' via deferred binding
   [ERROR] Cannot proceed due to previous errors

What version of the product are you using? On what operating system?

From the tip of the repository.  I am only using reflection.  I am using the 
tip rather than 1.0.0 b/c to solve a similar issue with GWT 2.1.

Please provide any additional information below.

Original issue reported on code.google.com by slehman1...@gmail.com on 14 Feb 2011 at 4:15

GoogleCodeExporter commented 8 years ago

Original comment by JamesLuo...@gmail.com on 18 Feb 2011 at 12:43

GoogleCodeExporter commented 8 years ago
Would you please have a try this file? It should working with GWT2.2

Original comment by JamesLuo...@gmail.com on 8 Mar 2011 at 1:54

Attachments:

GoogleCodeExporter commented 8 years ago
It appears to work.  Thank you.

Original comment by slehman1...@gmail.com on 8 Mar 2011 at 7:42

GoogleCodeExporter commented 8 years ago
works for me too. thanks!

is there a target date for 2.0?

Original comment by Tomer.Do...@gmail.com on 17 Apr 2011 at 11:50

GoogleCodeExporter commented 8 years ago
With the gwt2.2 file i can compile my application but it appears the parseImpl 
method in TypeOracleImpl fails when i give in a "Java.Lang.Integer"

Original comment by Peter.Nu...@googlemail.com on 21 Apr 2011 at 7:37