1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    8
    Vote Rating
    0
    stephen_mcleod is on a distinguished road

      0  

    Default [CLOSE] 1.0-Beta-2: Compiler errors when running with latest GWT trunk version 2649

    [CLOSE] 1.0-Beta-2: Compiler errors when running with latest GWT trunk version 2649


    I just updated GWT the latest trunk version, 2649. I'm now getting the following fatal compilation errors whenever I try to run any code which uses GXT 1.0-Beta-2. Even an empty application, ie

    Code:
        public final void onModuleLoad() {
    
        }
    fails. The error, which occurs both in hosted mode and when compiling the app, is

    [ERROR] Errors in 'jar:file:/home/stephen/dev/GWT/Lib/deploy-lib/gwt/gxt-1.0-Beta2.jar!/com/extjs/gxt/ui/client/core/Ext.java'

    [ERROR] Internal compiler error
    com.google.gwt.dev.js.rhino.EvaluatorException: Expected an identifier in JSNI reference
    at com.google.gwt.dev.js.rhino.Context.reportError(Context.java:462)
    at com.google.gwt.dev.js.rhino.TokenStream.reportSyntaxError(TokenStream.java:1540)
    at com.google.gwt.dev.js.rhino.TokenStream.jsniMatchQualifiedTypeName(TokenStream.java:1477)
    at com.google.gwt.dev.js.rhino.TokenStream.jsniMatchReference(TokenStream.java:1336)
    at com.google.gwt.dev.js.rhino.TokenStream.getToken(TokenStream.java:807)
    at com.google.gwt.dev.jdt.FindJsniRefVisitor.findJsniRefsSloppily(FindJsniRefVisitor.java:136)
    at com.google.gwt.dev.jdt.FindJsniRefVisitor.visit(FindJsniRefVisitor.java:76)
    at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:214)
    at com.google.gwt.dev.jdt.LongFromJSNIChecker$CheckingVisitor.checkRefs(LongFromJSNIChecker.java:132)
    at com.google.gwt.dev.jdt.LongFromJSNIChecker$CheckingVisitor.endVisit(LongFromJSNIChecker.java:62)
    at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:247)
    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1222)
    at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:518)
    at com.google.gwt.dev.jdt.LongFromJSNIChecker.check(LongFromJSNIChecker.java:306)
    at com.google.gwt.dev.jdt.LongFromJSNIChecker.check(LongFromJSNIChecker.java:296)
    at com.google.gwt.dev.jdt.AstCompiler.doCompilationUnitDeclarationValidation(AstCompiler.java:133)
    at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process(AbstractCompiler.java:184)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)
    at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:97)
    at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:198)
    at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$600(AbstractCompiler.java:83)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:562)
    at com.google.gwt.dev.jdt.AstCompiler.getChangedCompilationUnitDeclarations(AstCompiler.java:107)
    at com.google.gwt.dev.jdt.TypeOracleBuilder.build(TypeOracleBuilder.java:547)
    at com.google.gwt.dev.cfg.ModuleDef.createTypeOracle(ModuleDef.java:497)
    at com.google.gwt.dev.cfg.ModuleDef.refresh(ModuleDef.java:368)
    at com.google.gwt.dev.cfg.ModuleDefLoader.tryGetLoadedModule(ModuleDefLoader.java:132)
    at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:118)
    at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:104)
    at com.google.gwt.dev.GWTShell.doLoadModule(GWTShell.java:689)
    at com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.loadModule(GWTShell.java:306)
    at com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.createModuleSpaceHost(GWTShell.java:265)
    at com.google.gwt.dev.shell.moz.BrowserWidgetMoz$ExternalObjectImpl.gwtOnLoad(BrowserWidgetMoz.java:51)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
    at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:744)
    at com.google.gwt.dev.GWTShell.run(GWTShell.java:607)
    at com.google.gwt.dev.GWTShell.main(GWTShell.java:375)

    I'm running on Ubuntu 8.04, using JDK6.

    Is it specified somewhere what GWT version we should be using with each GXT release?

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    GXT should only be used with GWT 1.5 M2. The GXT code will only be updated when Google releases a new version of 1.5.

Thread Participants: 1