Skip to content

Instantly share code, notes, and snippets.

@stepancheg
Created July 20, 2015 16:24
Show Gist options
  • Save stepancheg/bd4a66d3ca8c893521f3 to your computer and use it in GitHub Desktop.
Save stepancheg/bd4a66d3ca8c893521f3 to your computer and use it in GitHub Desktop.
binding: user.agent=safari
Compiling module com.company.salmon.frontend.gwt.Solomon
Ignored 8 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Unification traversed 392 fields and methods and 154 types. 1 are considered part of the current module and 1 had all of their fields and methods traversed.
[WARN] Some stale types ([com.company.salmon.frontend.gwt.chart.ChartGwt$8, com.company.salmon.frontend.gwt.chart.ChartGwt$9, com.company.salmon.frontend.gwt.chart.ChartGwt$6, com.company.salmon.frontend.gwt.chart.ChartGwt$7, com.company.salmon.frontend.gwt.chart.ChartGwt$Multiplier, com.company.salmon.frontend.gwt.chart.ChartGwt$YTick, com.company.salmon.frontend.gwt.chart.ChartGwt, com.company.salmon.frontend.gwt.chart.ChartGwt$ChartGeom, com.company.salmon.frontend.gwt.chart.ChartGwt$1, com.company.salmon.frontend.gwt.chart.ChartGwt$5$1, com.company.salmon.frontend.gwt.chart.ChartGwt$4, com.company.salmon.frontend.gwt.chart.ChartGwt$5, com.company.salmon.frontend.gwt.chart.ChartGwt$2, com.company.salmon.frontend.gwt.chart.ChartGwt$3]) 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 SolomonEntryPoint.java(38): ChartGwt.registerNatives()
com.google.gwt.dev.jjs.ast.JMethodCall
[ERROR] at SolomonEntryPoint.java(38): ChartGwt.registerNatives()
com.google.gwt.dev.jjs.ast.JExpressionStatement
[ERROR] at SolomonEntryPoint.java(18): {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment