]
Tom Jenkinson updated JBTM-2454:
--------------------------------
Comment: was deleted
(was:
Internal IBM J9 compiler error building XTS
-------------------------------------------
Key: JBTM-2454
URL:
https://issues.jboss.org/browse/JBTM-2454
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Build System
Affects Versions: 5.2.0
Reporter: Michael Musgrove
Assignee: Tom Jenkinson
Priority: Minor
Fix For: 5.next
Attachments: compensations.tar
On lancel we get the following error. I am unable to reproduce it on my laptop.
The compiler details are:
{quote}
java version "1.8.0"
Java(TM) SE Runtime Environment (build pxa6480sr1-20150417_01(SR1))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20150410_243669 (JIT
enabled, AOT enabled)
J9VM - R28_Java8_SR1_20150410_1531_B243669
JIT - tr.r14.java_20150402_88976.03
GC - R28_Java8_SR1_20150410_1531_B243669_CMPRSS
J9CL - 20150410_243669)
JCL - 20150413_01 based on Oracle jdk8u45-b13
{quote}
and the build error is:
{quote}
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
localjunit-disabled-context-propagation-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/home/hudson/workspace/narayana-ibm-jdk/XTS/localjunit/disabled-context-propagation/target/test-classes
An exception has occurred in the compiler (1.8.0-internal). Please file a bug at the Java
Developer Connection (
http://java.sun.com/webapps/bugreport) after checking the Bug
Parade for duplicates. Include your program and the following diagnostic in your report.
Thank you.
java.lang.NullPointerException
at javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:142)
at javax.lang.model.util.ElementScanner6.visitType(ElementScanner6.java:189)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.visitType(JavacProcessingEnvironment.java:777)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.visitType(JavacProcessingEnvironment.java:758)
at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1162)
at javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:157)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.scan(JavacProcessingEnvironment.java:798)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.findAnnotationsPresent(JavacProcessingEnvironment.java:993)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:891)
at
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1182)
at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1182)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:868)
at com.sun.tools.javac.main.Main.compile(Main.java:535)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:141)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:150)
at
org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
at
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
{quote}