Skip to content

Instantly share code, notes, and snippets.

@stepancheg
Created July 22, 2015 20:57
Show Gist options
  • Save stepancheg/db1eb94998fea540930a to your computer and use it in GitHub Desktop.
Save stepancheg/db1eb94998fea540930a to your computer and use it in GitHub Desktop.
binding: user.agent=gecko1_8
Compiling module aaaa.Bbbb
Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Unification traversed 374 fields and methods and 145 types. 1 are considered part of the current module and 1 had all of their fields and methods traversed.
[WARN] Some stale types ([aaaa.client.Cccc]) were not reprocessed as was expected. This is either a compiler bug or a Generator has legitimately stopped creating these types.
Compiling 1 permutation
Compiling permutation 0...
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:121)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:140)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:42)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:156)
at com.google.gwt.dev.jjs.ast.JVisitor.acceptWithInsertRemove(JVisitor.java:178)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:156)
at com.google.gwt.dev.jjs.ast.JVisitor.acceptWithInsertRemoveImmutable(JVisitor.java:182)
at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:112)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132)
at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST$GenerateJavaScriptVisitor.visit(GenerateJavaScriptAST.java:1869)
at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1154)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132)
at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.execImpl(GenerateJavaScriptAST.java:3583)
at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.exec(GenerateJavaScriptAST.java:3239)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:300)
at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296)
at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)
at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)
at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:4454)
at com.google.gwt.dev.jjs.ast.JDeclaredType.getClinitMethod(JDeclaredType.java:204)
at com.google.gwt.dev.jjs.ast.JProgram.isClinit(JProgram.java:243)
at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST$GenerateJavaScriptVisitor.endVisit(GenerateJavaScriptAST.java:1315)
at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
... 32 more
[ERROR] at Bbbb.java(11): Cccc.init()
com.google.gwt.dev.jjs.ast.JMethodCall
[ERROR] at Bbbb.java(11): Cccc.init()
com.google.gwt.dev.jjs.ast.JExpressionStatement
[ERROR] at Bbbb.java(10): {
Cccc.init();
}
com.google.gwt.dev.jjs.ast.JBlock
[ERROR] at Bbbb.java(10): {
Cccc.init();
}
com.google.gwt.dev.jjs.ast.JMethodBody
[ERROR] at Bbbb.java(10): public void onModuleLoad();
com.google.gwt.dev.jjs.ast.JMethod
[ERROR] at Bbbb.java(9): class Bbbb extends Object implements EntryPoint
com.google.gwt.dev.jjs.ast.JClassType
[ERROR] at Unknown(0): <JProgram>
com.google.gwt.dev.jjs.ast.JProgram
[ERROR] Unrecoverable exception, shutting down
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.javac.CompilationProblemReporter.logAndTranslateException(CompilationProblemReporter.java:106)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:363)
at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296)
at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)
at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)
at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)
at java.lang.Thread.run(Thread.java:745)
[ERROR] Not all permutation were compiled , completed (0/1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment