java - GWT migration from 2.6.1 to 2.7 compilation error at asm library -


i migrating gwt higher version (from 2.6.1 2.7). app mutlimodule maven build on top of stack like: hibernate, spring, gwt. i've done lot of stuff make work. struggle asm library, base on error:

[info] [error] unexpected internal compiler error [info] java.lang.arrayindexoutofboundsexception: 8192 [info]  @ org.objectweb.asm.classreader.readutf8(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) 

i've done lot of exclusion of asm spring. here asm occurence in dependency tree:

+- com.google.gwt:gwt-dev:jar:2.7.0:provided |  +- (org.ow2.asm:asm:jar:5.0.3:provided - omitted duplicate) |  +- org.ow2.asm:asm-util:jar:5.0.3:provided |  |  \- org.ow2.asm:asm-tree:jar:5.0.3:provided |  |     \- (org.ow2.asm:asm:jar:5.0.3:provided - omitted duplicate) |  \- org.ow2.asm:asm-commons:jar:5.0.3:provided |     \- (org.ow2.asm:asm-tree:jar:5.0.3:provided - omitted duplicate) \- org.ow2.asm:asm:jar:5.0.3:compile 

i don't know error comes. here whole stack trace:

[info] ------------------------------------------------------------------------ [info] building henixwar 2.50.30-snapshot [info] ------------------------------------------------------------------------ [warning] pom com.google.gwt:gwt-vl:jar:2.0b invalid, transitive dependencies (if any) not available, enable debug logging more details [info]  [info] --- maven-clean-plugin:2.5:clean (default-clean) @ henixwar --- [info] deleting c:\henix2\workspace\henixwar\target [info]  [info] --- build-helper-maven-plugin:1.7:add-source (add-source) @ henixwar --- [info] source directory: c:\henix2\workspace\henixwar\target\filtered-sources\java added. [info]  [info] --- maven-resources-plugin:2.6:resources (default-resources) @ henixwar --- [info] using 'utf-8' encoding copy filtered resources. [info] copying 1 resource ../../src/main/webapp [info] copying 1 resource ../../src/main/java/pl/com/casus/henix/resources [info] copying 1 resource ../../target/spring-resources [info] copying 1 resource [info] copying 4 resources [info]  [info] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ henixwar --- [info] compiling 2849 source files c:\henix2\workspace\henixwar\target\classes [info]  [info] --- maven-resources-plugin:2.6:testresources (default-testresources) @ henixwar --- [info] using 'utf-8' encoding copy filtered resources. [info] skip non existing resourcedirectory c:\henix2\workspace\henixwar\src\test\resources [info]  [info] --- maven-compiler-plugin:2.0.2:testcompile (default-testcompile) @ henixwar --- [info] compiling 424 source files c:\henix2\workspace\henixwar\target\test-classes [info]  [info] --- maven-surefire-plugin:2.19:test (default-test) @ henixwar --- [info] tests skipped. [info]  [info] --- gwt-maven-plugin:2.7.0:compile (default) @ henixwar --- [info] auto discovered modules [pl.com.casus.henix.modules.main.main, pl.com.casus.henix.resources.mavenfiltereduseragent, pl.com.casus.henix.resources.resources, pl.com.casus.henix.modules.library.library, mavenfiltereduseragent] [info] pl.com.casus.henix.resources.mavenfiltereduseragent has no entrypoint - compilation skipped [info] pl.com.casus.henix.resources.resources has no entrypoint - compilation skipped [info] pl.com.casus.henix.modules.library.library has no entrypoint - compilation skipped [info] mavenfiltereduseragent has no entrypoint - compilation skipped [error] wrz 14, 2017 8:28:52 java.util.prefs.windowspreferences <init> [error] warning: not open/create prefs root node software\javasoft\prefs @ root 0x80000002. windows regcreatekeyex(...) returned error code 5. [info] loading inherited module 'pl.com.casus.henix.modules.main.main' [info]    [warn] line 4: setting configuration property named 'uibinder.usesafehtmltemplates' in module 'pl.com.casus.henix.modules.main.main' has not been defined [info]    loading inherited module 'com.google.gwt.user.user' [info]       loading inherited module 'com.google.gwt.media.media' [info]          loading inherited module 'com.google.gwt.user.ui' [info]             loading inherited module 'com.google.gwt.uibinder.uibinder' [info]                [warn] definition of set configuration property named uibinder.usesafehtmltemplates in com.google.gwt.uibinder.uibinder (set in pl.com.casus.henix.modules.main.main).  may disallowed in future. [info] [error] unexpected internal compiler error [info] java.lang.arrayindexoutofboundsexception: 8192 [info]  @ org.objectweb.asm.classreader.readutf8(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) [info]  @ com.google.gwt.dev.javac.bytecodesignaturemaker.visitcompiledependenciesinbytecode(bytecodesignaturemaker.java:228) [info]  @ com.google.gwt.dev.javac.bytecodesignaturemaker.getcompiledependencysignature(bytecodesignaturemaker.java:209) [info]  @ com.google.gwt.dev.javac.compiledclass.getsignaturehash(compiledclass.java:166) [info]  @ com.google.gwt.dev.javac.dependencies$ref.<init>(dependencies.java:42) [info]  @ com.google.gwt.dev.javac.dependencies$ref.<init>(dependencies.java:37) [info]  @ com.google.gwt.dev.javac.dependencies.resolve(dependencies.java:114) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder$compilemorelater.compile(compilationstatebuilder.java:366) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.dobuildfrom(compilationstatebuilder.java:580) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.buildfrom(compilationstatebuilder.java:513) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.buildfrom(compilationstatebuilder.java:499) [info]  @ com.google.gwt.dev.cfg.moduledef.getcompilationstate(moduledef.java:668) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:255) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:229) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:145) [info]  @ com.google.gwt.dev.compiler.run(compiler.java:206) [info]  @ com.google.gwt.dev.compiler.run(compiler.java:158) [info]  @ com.google.gwt.dev.compiler$1.run(compiler.java:120) [info]  @ com.google.gwt.dev.compiletaskrunner.dorun(compiletaskrunner.java:55) [info]  @ com.google.gwt.dev.compiletaskrunner.runwithappropriatelogger(compiletaskrunner.java:50) [info]  @ com.google.gwt.dev.compiler.main(compiler.java:127) [info] ------------------------------------------------------------------------ [info] reactor summary: [info]  [info] henix .............................................. success [  0.257 s] [info] henixdao ........................................... success [ 14.418 s] [info] henixapp ........................................... success [ 13.549 s] [info] henixws ............................................ success [  2.079 s] [info] henixwar ........................................... failure [ 42.005 s] [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 01:12 min [info] finished at: 2017-09-14t08:29:06+02:00 [info] final memory: 145m/975m [info] ------------------------------------------------------------------------ [error] failed execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0:compile (default) on project henixwar: command [[ 

and more detailed build:

translatable source found in... [info] persistent unit cache dir set to: c:\henix2\workspace\henixwar\src\main\gwt-unitcache [info] looking cached compilation units in c:\henix2\workspace\henixwar\src\main\gwt-unitcache [info] compiling module pl.com.tartus.henix.modules.main.main [info]    looking precompiled archives.  disable, use -dgwt.usearchives=false [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/core/core.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/user/user.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/regexp/regexp.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/web/bindery/event/event.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/user/ui.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/user/useragent.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/user/dom.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/user/remoteservice.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/activity/activity.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/place/place.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/logging/loggingdisabled.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/json/json.gwtar [info]    loading archived module: jar:file:/c:/users/korbeda/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/xml/xml.gwtar [info]    found 3017 cached/archived units.  used 3017 / 6194 units cache. [info]    compiling... [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       60% complete (etr: 3 seconds) [info]       70% complete (etr: 2 seconds) [info]       80% complete (etr: 1 seconds) [info]       90% complete (etr: 1 seconds) [info]       100% complete (etr: 0 seconds) [info]       compilation completed in 9,81 seconds [info] [error] unexpected internal compiler error [info] java.lang.arrayindexoutofboundsexception: 8960 [info]  @ org.objectweb.asm.classreader.readutf8(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) [info]  @ org.objectweb.asm.classreader.accept(unknown source) [info]  @ com.google.gwt.dev.javac.bytecodesignaturemaker.visitcompiledependenciesinbytecode(bytecodesignaturemaker.java:228) [info]  @ com.google.gwt.dev.javac.bytecodesignaturemaker.getcompiledependencysignature(bytecodesignaturemaker.java:209) [info]  @ com.google.gwt.dev.javac.compiledclass.getsignaturehash(compiledclass.java:166) [info]  @ com.google.gwt.dev.javac.dependencies$ref.<init>(dependencies.java:42) [info]  @ com.google.gwt.dev.javac.dependencies$ref.<init>(dependencies.java:37) [info]  @ com.google.gwt.dev.javac.dependencies.resolve(dependencies.java:114) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder$compilemorelater.compile(compilationstatebuilder.java:366) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.dobuildfrom(compilationstatebuilder.java:580) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.buildfrom(compilationstatebuilder.java:513) [info]  @ com.google.gwt.dev.javac.compilationstatebuilder.buildfrom(compilationstatebuilder.java:499) [info]  @ com.google.gwt.dev.cfg.moduledef.getcompilationstate(moduledef.java:668) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:255) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:229) [info]  @ com.google.gwt.dev.precompile.precompile(precompile.java:145) [info]  @ com.google.gwt.dev.compiler.run(compiler.java:206) [info]  @ com.google.gwt.dev.compiler.run(compiler.java:158) [info]  @ com.google.gwt.dev.compiler$1.run(compiler.java:120) [info]  @ com.google.gwt.dev.compiletaskrunner.dorun(compiletaskrunner.java:55) [info]  @ com.google.gwt.dev.compiletaskrunner.runwithappropriatelogger(compiletaskrunner.java:50) [info]  @ com.google.gwt.dev.compiler.main(compiler.java:127) [info] shutting down persistentunitcache thread 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -