[pkg-eucalyptus-maintainers] Bug#685587: libgwt-dev-java: crashes on compiling a GWT hello world
Alexandre Rossi
niol at sousmonlit.dyndns.org
Wed Aug 22 07:58:01 UTC 2012
Package: libgwt-dev-java
Version: 2.4.0-1
Severity: important
The patch to port GWT to the newer Eclipse JDT version seems buggy as
compiling a simple GWT application crashes the compiler.
I used the GWT 'Hello World' from :
http://code.google.com/p/gwt-maven-helloworld/
$ java -cp /usr/share/java/gwt-dev.jar:/usr/share/java/gwt-user.jar:src/main/java:src/main/resources/ com.google.gwt.dev.Compiler helloWorld.aplicacion1
[WARN] Unable to initialize cache. Couldn't create directory /home/niol/mshared/
tmp/helloWorld/war/../gwt-unitCache.
Compiling module helloWorld.aplicacion1
[ERROR] Unexpected internal compiler error
java.lang.NullPointerException
at com.google.gwt.dev.javac.JsniChecker.getSuppressedWarnings(JsniChecke
r.java:565)
at com.google.gwt.dev.javac.JsniChecker$JsniDeclChecker.visit(JsniChecke
r.java:135)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDe
claration.java:1233)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.trav
erse(CompilationUnitDeclaration.java:679)
at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:615)
at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:559)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$Uni
tProcessorImpl.process(CompilationStateBuilder.java:83)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler
.java:251)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:464)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:710)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.com
pile(CompilationStateBuilder.java:235)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(Compilat
ionStateBuilder.java:447)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(Compilatio
nStateBuilder.java:370)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:3
60)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:252)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
TaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
If I use the precompiled GWT from upstream it works.
$ java -cp ../gwt-2.4.0/gwt-dev.jar:../gwt-2.4.0/gwt-user.jar:src/main/java:src/main/resources/ com.google.gwt.dev.Compiler helloWorld.aplicacion1
[WARN] Unable to initialize cache. Couldn't create directory /home/niol/mshared/tmp/helloWorld/war/../gwt-unitCache.
Compiling module helloWorld.aplicacion1
Validating newly compiled units
Ignored 71 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Computing all possible rebind results for 'com.google.gwt.user.client.UserAgentAsserter'
Rebinding com.google.gwt.user.client.UserAgentAsserter
Checking rule <generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
[WARN] Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'. Are validation-api-<version>.jar and validation-api-<version>-sources.jar on the classpath?
Specify -logLevel DEBUG to see all errors.
[WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
Compiling 6 permutations
Compiling permutation 0...
Compiling permutation 1...
Compiling permutation 2...
Compiling permutation 3...
Compiling permutation 4...
Compiling permutation 5...
Compile of permutations succeeded
Linking into /home/niol/mshared/tmp/helloWorld/war/helloWorld.aplicacion1
Link succeeded
Compilation succeeded -- 54,774s
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgwt-dev-java depends on:
ii ant 1.8.2-4
ii glassfish-javaee 1:2.1.1-b31g-3
ii libcommons-collections3-java 3.2.1-5
ii libecj-java 3.5.1-4
ii libgoogle-collections-java 1.0-2
ii libguava-java 11.0.2-1
ii libhtmlunit-core-js-java 2.8-1
ii libhtmlunit-java 2.8-1
ii libjetty-java 6.1.26-1
ii libprotobuf-java 2.4.1-3
libgwt-dev-java recommends no packages.
libgwt-dev-java suggests no packages.
-- no debconf information
More information about the pkg-eucalyptus-maintainers
mailing list