Tuesday, May 19, 2020

GWT - 2.9 Error compiling GWT

Hi,

We have an application we can not compile using GWT-2.9.  It compiles with GWT-2.8. 

We have the same problem with JDK8 and JDK11.

This is the error:

Compiling module com.xxxxxxxxxx.xxxxxx.web.xxxxxx.OpenFile
[java] [ERROR] Unexpected internal compiler error [java] java.lang.ArrayIndexOutOfBoundsException: 1
[java] at org.objectweb.asm.ClassReader.readStringish(ClassReader.java:3493)
[java] at org.objectweb.asm.ClassReader.readClass(ClassReader.java:3508)
[java] at org.objectweb.asm.ClassReader.accept(ClassReader.java:430)
[java] at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
[java] at com.google.gwt.dev.javac.BytecodeSignatureMaker.visitCompileDependenciesInBytecode(BytecodeSignatureMaker.java:228)
[java] at com.google.gwt.dev.javac.BytecodeSignatureMaker.getCompileDependencySignature(BytecodeSignatureMaker.java:209)
[java] at com.google.gwt.dev.javac.CompiledClass.getSignatureHash(CompiledClass.java:166)
[java] at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:41)
[java] at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:36)
[java] at com.google.gwt.dev.javac.Dependencies.resolve(Dependencies.java:100)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:349)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:532)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:464)
[java] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:210)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
[java] at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
[java] at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
[java] at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:113)

We have a WAR application with 6 GWT modules. We can compile 4 GWT modules and we have problems always with the same 2 GWT modules. 

Please, ask me if there is a way I can get more information from the error. 

Thank you,

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/414572fd-6869-4098-bd0d-e2767e39b345%40googlegroups.com.

No comments:

Post a Comment