Details
-
Bug
-
Resolution: Won't Fix
-
P2
-
8
Description
JavaFX 8 build using Gradle failed with JDK8-b91 for all platforms.
Below is the partial log.
+ gradle_tasks=all
+ '[' -n '' ']'
+ gradle_options=' --info -PBUILD_CLOSED=true -PBINARY_STUB= -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true'
+ GRADLE_OPTS=-DPULL_CLOSED=true
+ gradle --info -PBUILD_CLOSED=true -PBINARY_STUB= -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true all
Starting Build
================================================ Start building buildSrc
Evaluating root project 'buildSrc' using build file 'C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\build.gradle'.
Selected primary tasks 'clean', 'build'
:buildSrc:clean
Task ':clean' has not declared any outputs, assuming that it is out-of-date.
:buildSrc:clean UP-TO-DATE
:buildSrc:generateGrammarSource
Executing task ':generateGrammarSource' due to:
No history is available for task ':generateGrammarSource'.
Starting process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe''. Working directory: C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc Command: C:\jdk\jdk1.8.0-b91\bin\java.exe -Dfile.encoding=windows-1252 -cp C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\antlr-runtime\3.1.3\jar\3154e3dfd5b7466df8f5151a95be70584f74f76c\antlr-runtime-3.1.3.jar;C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\stringtemplate\3.2\jar\6fe2e3bb57daebd1555494818909f9664376dd6c\stringtemplate-3.2.jar;C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\antlr\3.1.3\jar\1e18576780eb117e410e7a262453a99b01e55b02\antlr-3.1.3.jar org.antlr.Tool -o C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\build/generated-src/antlr/com/sun/scenario/effect/compiler C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\src\main\antlr\JSL.g
An attempt to initialize for well behaving parent process finished.
Successfully started process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe''
error(10): internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException
java.util.Objects.requireNonNull(Objects.java:203)
java.util.ArrayList.removeAll(ArrayList.java:674)
org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222)
org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2620)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:491)
org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:563)
org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:514)
org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:416)
org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:351)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:136)
org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:216)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:126)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:84)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1278)
org.antlr.codegen.Target.genRecognizerFile(Target.java:94)
org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:463)
org.antlr.Tool.generateRecognizer(Tool.java:607)
org.antlr.Tool.process(Tool.java:429)
org.antlr.Tool.main(Tool.java:91)
Process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe'' finished with exit value 1 (state: FAILED)
:buildSrc:generateGrammarSource FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateGrammarSource'.
> Process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 7.75 secs
Archiving artifacts
Sending e-mails to: hang.vo@oracle.com kevin.rushforth@oracle.com richard.bair@oracle.com david.hill@oracle.com peter.zhelezniakov@oracle.com
Finished: FAILURE
Below is the partial log.
+ gradle_tasks=all
+ '[' -n '' ']'
+ gradle_options=' --info -PBUILD_CLOSED=true -PBINARY_STUB= -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true'
+ GRADLE_OPTS=-DPULL_CLOSED=true
+ gradle --info -PBUILD_CLOSED=true -PBINARY_STUB= -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true all
Starting Build
================================================ Start building buildSrc
Evaluating root project 'buildSrc' using build file 'C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\build.gradle'.
Selected primary tasks 'clean', 'build'
:buildSrc:clean
Task ':clean' has not declared any outputs, assuming that it is out-of-date.
:buildSrc:clean UP-TO-DATE
:buildSrc:generateGrammarSource
Executing task ':generateGrammarSource' due to:
No history is available for task ':generateGrammarSource'.
Starting process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe''. Working directory: C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc Command: C:\jdk\jdk1.8.0-b91\bin\java.exe -Dfile.encoding=windows-1252 -cp C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\antlr-runtime\3.1.3\jar\3154e3dfd5b7466df8f5151a95be70584f74f76c\antlr-runtime-3.1.3.jar;C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\stringtemplate\3.2\jar\6fe2e3bb57daebd1555494818909f9664376dd6c\stringtemplate-3.2.jar;C:\Documents and Settings\hudson\.gradle\caches\artifacts-23\filestore\org.antlr\antlr\3.1.3\jar\1e18576780eb117e410e7a262453a99b01e55b02\antlr-3.1.3.jar org.antlr.Tool -o C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\build/generated-src/antlr/com/sun/scenario/effect/compiler C:\workspace\8-gfx-gradle\label\windows-i586-30\javafx\buildSrc\src\main\antlr\JSL.g
An attempt to initialize for well behaving parent process finished.
Successfully started process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe''
error(10): internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException
java.util.Objects.requireNonNull(Objects.java:203)
java.util.ArrayList.removeAll(ArrayList.java:674)
org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222)
org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2620)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:491)
org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:563)
org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:514)
org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:416)
org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:351)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:136)
org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:216)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:126)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:84)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1278)
org.antlr.codegen.Target.genRecognizerFile(Target.java:94)
org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:463)
org.antlr.Tool.generateRecognizer(Tool.java:607)
org.antlr.Tool.process(Tool.java:429)
org.antlr.Tool.main(Tool.java:91)
Process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe'' finished with exit value 1 (state: FAILED)
:buildSrc:generateGrammarSource FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateGrammarSource'.
> Process 'command 'C:\jdk\jdk1.8.0-b91\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 7.75 secs
Archiving artifacts
Sending e-mails to: hang.vo@oracle.com kevin.rushforth@oracle.com richard.bair@oracle.com david.hill@oracle.com peter.zhelezniakov@oracle.com
Finished: FAILURE
Attachments
Issue Links
- duplicates
-
JDK-8016337 ArrayList.removeAll(null) throws NPE
- Closed
- relates to
-
JDK-4802647 (coll) NullPointerException not thrown by AbstractCollection.retainAll/removeAll
- Closed
-
JDK-8159404 throw UnsupportedOperationException unconditionally for mutator methods
- Resolved
-
JDK-8021591 Additional NPE checks
- Closed