[Bug 2956] New: GWT modules are failing to compile under 1.6.0_39

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu May 12 18:48:27 UTC 2016


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2956

            Bug ID: 2956
           Summary: GWT modules are failing to compile under 1.6.0_39
           Product: IcedTea
           Version: 6-hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: paguayo at indexengines.com
                CC: unassigned at icedtea.classpath.org

Easily reproducible, download the latest GWT SDK and try compile the JSON
sample module.

Download GWT:
-------------

http://goo.gl/t7FQSn


Error:
------

JSON]# ant build
Buildfile: build.xml

libs:

javac:

gwtc:
     [java] Compiling module com.google.gwt.sample.json.JSON
     [java] Exception in thread "Thread-5" java.lang.NullPointerException
     [java]     at
sun.font.FontManager.getDefaultPlatformFont(FontManager.java:3409)
     [java]     at
sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:263)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at
sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:164)
     [java]     at
sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:254)
     [java]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
     [java]     at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java]     at
java.lang.reflect.Constructor.newInstance(Constructor.java:534)
     [java]     at java.lang.Class.newInstance(Class.java:379)
     [java]     at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
     [java]     at
com.google.gwt.dev.GraphicsInitThread.run(GraphicsInitThread.java:39)
     [java]    Computing all possible rebind results for
'com.google.gwt.user.client.ui.Tree.Resources'
     [java]       Rebinding com.google.gwt.user.client.ui.Tree.Resources
     [java]          Invoking generator
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
     [java]             [ERROR] Generator
'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw an
exception while rebinding 'com.google.gwt.user.client.ui.Tree.Resources'
     [java] java.lang.NullPointerException
     [java]     at
sun.font.FontManager.getDefaultPlatformFont(FontManager.java:3409)
     [java]     at
sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:263)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at
sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:164)
     [java]     at
sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:254)
     [java]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
     [java]     at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java]     at
java.lang.reflect.Constructor.newInstance(Constructor.java:534)
     [java]     at java.lang.Class.newInstance(Class.java:379)
     [java]     at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
     [java]     at
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1182)
     [java]     at
com.google.gwt.resources.rg.ImageBundleBuilder.toPng(ImageBundleBuilder.java:540)
     [java]     at
com.google.gwt.resources.rg.ImageResourceGenerator.reencodeToTempFile(ImageResourceGenerator.java:658)
     [java]     at
com.google.gwt.resources.rg.ImageResourceGenerator.prepare(ImageResourceGenerator.java:584)
     [java]     at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1013)
     [java]     at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1039)
     [java]     at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generateIncrementally(AbstractClientBundleGenerator.java:419)
     [java]     at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:754)
     [java]     at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:160)
     [java]     at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
     [java]     at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
     [java]     at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
     [java]     at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:87)
     [java]     at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:485)
     [java]     at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
     [java]     at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
     [java]     at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
     [java]     at
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
     [java]     at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
     [java]     at
com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
     [java]     at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
     [java]     at
com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:95)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:351)
     [java]     at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
     [java]     at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
     [java]     at
com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
     [java]     at
com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
     [java]     at
com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
     [java]     at
com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
     [java]     at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1305)
     [java]     at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
     [java]     at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
     [java]     at
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
     [java]     at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
     [java]     at
com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
     [java]     at
com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
     [java]     at
com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:206)
     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:158)
     [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
     [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:127)
     [java]    [ERROR] Errors in 'com/google/gwt/user/client/ui/Tree.java'
     [java]       [ERROR] Line 133: Failed to resolve
'com.google.gwt.user.client.ui.Tree.Resources' via deferred binding

BUILD FAILED
/builddir/build/BUILD/indexengines-6.2.0/ext/gwt_sand/gwt-2.7.0/samples/JSON/build.xml:40:
Java returned: 1

Total time: 7 seconds
<mock-chroot>[root at bullhead JSON]# javac -version
javac 1.6.0_39
<mock-chroot>[root at bullhead JSON]# java -version
java version "1.6.0_39"
OpenJDK Runtime Environment (IcedTea6 1.13.12pre) (CentOS build 1.6.0_39-b39)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160512/c6cc423c/attachment-0001.html>


More information about the distro-pkg-dev mailing list