1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    vielinko is on a distinguished road

      0  

    Default Internal compiler error -> GXT 2.2.1 + GWT 2.2.0, bug?

    Internal compiler error -> GXT 2.2.1 + GWT 2.2.0, bug?


    Hello, I try to find out some related posts at this forum, but didnt have luck. Now, I request for help

    I have a GWT+GXT project, I just recently upgrade my APIs versions to newest. When I compile my project, I had this compile errors:

    Code:
    Error: Internal compiler error
    Error:at com.extjs.gxt.ui.rebind.core.TemplatesGenerator$SourceGenerator.validateType(TemplatesGenerator.java:142)
    Error:at com.extjs.gxt.ui.rebind.core.TemplatesGenerator$SourceGenerator.generate(TemplatesGenerator.java:97)
    Error:at com.extjs.gxt.ui.rebind.core.TemplatesGenerator.generate(TemplatesGenerator.java:56)
    Error:at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    Error:at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    Error:at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:662)
    Error:at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    Error:at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    Error:at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
    Error:at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:248)
    Error:at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    Error:at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
    Error:at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    Error:at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    Error:at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
    Error:at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    Error:at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
    Error:at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
    Error:at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
    Error:at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
    Error:at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:517)
    Error:at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
    Error:at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
    Error:at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
    Error:at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
    Error:at com.google.gwt.dev.Compiler.run(Compiler.java:215)
    Error:at com.google.gwt.dev.Compiler.run(Compiler.java:187)
    Error:at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
    Error:at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    Error:at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    Error:at com.google.gwt.dev.Compiler.main(Compiler.java:166)
    Error:Unexpected
    It's a bug or a knowing stuff, and someone can guide me how to resolve with these API's versions.

    By the moment, I just rollback my upgrade to previous version of GWT+GXT.


    Rgds,
    VieL.

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is known and can be found in the GWT documentation and also using the forum search. GWT 2.2 is not binary backward compatibly. This means you will need to either rebuild GXT against GWT 2.2 or use the just relaesed GXT 2.2.3

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    narduk is on a distinguished road

      0  

    Default


    Hi,

    I downloaded Ext GWT 2.2.3 a few days ago and tried to upgrade. However, a similar problem still shows up:

    Code:
    [ERROR] Errors in 'jar:file:/home/narduk/workspace/myproject/lib/gxt-2.2.3-gwt22.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java'
          [ERROR]  Internal compiler error
    java.lang.IncompatibleClassChangeError: Found class com.google.gwt.core.ext.typeinfo.JClassType, but interface was expected
        at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.isBeanMarker(BeanModelGenerator.java:197)
        at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java:54)
        at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
        at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
        at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
        at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
        at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
        at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
        at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
        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:484)
        at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
        at com.google.gwt.dev.Compiler.run(Compiler.java:205)
        at com.google.gwt.dev.Compiler.run(Compiler.java:177)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
        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:156)
    
    [ERROR] Unexpected
    java.lang.IncompatibleClassChangeError: Found class com.google.gwt.core.ext.typeinfo.JClassType, but interface was expected
        at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.isBeanMarker(BeanModelGenerator.java:197)
        at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java:54)
        at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
        at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
        at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
        at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
        at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
        at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
        at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
        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:484)
        at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
        at com.google.gwt.dev.Compiler.run(Compiler.java:205)
        at com.google.gwt.dev.Compiler.run(Compiler.java:177)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
        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:156)
    Any idea?

    Thanks.
    Last edited by narduk; 16 Mar 2011 at 5:13 AM. Reason: Added code mark

  4. #4
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    870
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Make sure you are compiling using gwt 2.2 as well...

  5. #5
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    vielinko is on a distinguished road

      0  

    Red face


    Quote Originally Posted by sven View Post
    This is known and can be found in the GWT documentation and also using the forum search. GWT 2.2 is not binary backward compatibly. This means you will need to either rebuild GXT against GWT 2.2 or use the just relaesed GXT 2.2.3

    aaww ... my fault, sorry, I didn't check the GWT new documentation. I'll DL de new GXT release.

    I'll feedback after test...

    Thank you very much for your help/tip/reprimand(jk :P) ...

    Rgds,
    VieL

  6. #6
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    vielinko is on a distinguished road

      0  

    Default


    Quote Originally Posted by vielinko View Post
    aaww ... my fault, sorry, I didn't check the GWT new documentation. I'll DL de new GXT release.

    I'll feedback after test...

    Thank you very much for your help/tip/reprimand(jk :P) ...

    Rgds,
    VieL
    It's done, compiles/works perfectly.

    Thank you very much


    VieL.

  7. #7
    Sencha User
    Join Date
    Sep 2010
    Posts
    4
    Vote Rating
    0
    ELGUENBRI Foued is on a distinguished road

      0  

    Default


    would you please explain how do you resolved the problem!!
    Thanks

  8. #8
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    870
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    He simply downloaded gxt 2.2.3, which is ready for gwt 2.2.

    Regards,
    Michel.

  9. #9
    Sencha User
    Join Date
    Sep 2010
    Posts
    4
    Vote Rating
    0
    ELGUENBRI Foued is on a distinguished road

      0  

    Default


    Thank you very much

  10. #10
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    vielinko is on a distinguished road

      0  

    Default


    Quote Originally Posted by micgala View Post
    He simply downloaded gxt 2.2.3, which is ready for gwt 2.2.

    Regards,
    Michel.
    Just like this ... download gxt 2.2.3 and rebuild project :P ...

Similar Threads

  1. compiler error into browser
    By baksheen in forum Community Discussion
    Replies: 2
    Last Post: 7 Aug 2009, 2:29 AM
  2. Unexpected internal compiler error when compile
    By coodysk8er in forum Ext GWT: Help & Discussion (1.x)
    Replies: 9
    Last Post: 26 Jun 2009, 2:23 AM
  3. GWT compiler error at PagingToolBar onLoad()
    By Kutu in forum Ext GWT: Bugs (1.x)
    Replies: 13
    Last Post: 26 Aug 2008, 1:56 PM
  4. internal compiler exception from CheckChangedListener
    By dnedde in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 5 Aug 2008, 8:12 PM
  5. [FIXED] Internal compiler errors w/ Beta 4
    By michaelosity in forum Ext GWT: Bugs (1.x)
    Replies: 12
    Last Post: 4 Jun 2008, 5:32 AM

Thread Participants: 4

Tags for this Thread