-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.0.0.DR8
-
None
After IBM JDK8 upgrade in lab was performed we start to have problems running component testsuite.
Java(TM) SE Runtime Environment (build pxa6480sr1fp10-20150711_01(SR1 FP10))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20150630_255633 (JIT enabled, AOT enabled)
J9VM - R28_jvm.28_20150630_1742_B255633
JIT - tr.r14.java_20150625_95081.01
GC - R28_jvm.28_20150630_1742_B255633_CMPRSS
J9CL - 20150630_255633)
JCL - 20150711_01 based on Oracle jdk8u51-b15
There are ClassNotFoundExeption and NullPointerException being thrown during compile phase when trying to execute just the testsuite submodule.
This is not 100% reproducible as on some machines it executes successfully, sometimes it ends up with CNFE and other time NPE.
wsconsume: [wsconsume] Consuming wsdl: /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/resources/jaxws/complex/META-INF/wsdl/RegistrationService.wsdl [wsconsume] Consuming wsdl: /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/resources/jaxws/holder/META-INF/wsdl/HolderService.wsdl [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ jbossws-cxf-shared-tests --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] Copying 39 resources to ../test-classes [INFO] Copying 292 resources to ../test-resources [INFO] Copying 45 resources to ../test-resources [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 292 resources to ../test-resources [INFO] [INFO] --- maven-compiler-plugin:2.4:testCompile (default-testCompile) @ jbossws-cxf-shared-tests --- [INFO] Compiling 1061 source files to /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] bootstrap class path not set in conjunction with -source 1.7 /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[77,11] error: cannot find symbol [ERROR] symbol: class Registration location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[171,11] error: cannot find symbol [ERROR] symbol: class Customer location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[203,11] error: cannot find symbol [ERROR] symbol: class InvoiceCustomer location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[236,11] error: cannot find symbol [ERROR] symbol: class Customer location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[261,11] error: cannot find symbol [ERROR] symbol: class Customer location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[281,11] error: cannot find symbol [ERROR] symbol: class Customer location: class ComplexTestCase /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[42,48] error: cannot find symbol [ERROR] symbol: class Registration /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,24] error: cannot find symbol [ERROR] symbol: class Customer location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,63] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,97] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[73,71] error: cannot find symbol [ERROR] symbol: class Customer location: package org.jboss.test.ws.jaxws.complex /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,39] error: cannot find symbol [ERROR] symbol: class Customer location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,80] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,114] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,37] error: cannot find symbol [ERROR] symbol: class InvoiceCustomer location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,77] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,111] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[110,35] error: cannot find symbol [ERROR] symbol: class Customer location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[110,10] error: cannot find symbol [ERROR] symbol: class Statistics location: class RegistrationServiceImpl /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/holder/HolderTestCase.java:[53,48] error: cannot find symbol [INFO] 20 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] JBoss Web Services - Stack CXF ..................... SUCCESS [ 0.837 s] [INFO] JBoss Web Services - Endorsed factories ............ SUCCESS [ 1.267 s] [INFO] JBoss Web Services - Stack CXF JASPI ............... SUCCESS [ 4.911 s] [INFO] JBoss Web Services - Stack CXF Add-ons ............. SUCCESS [ 0.013 s] [INFO] JBoss Web Services - Stack CXF UDP transport ....... SUCCESS [ 0.791 s] [INFO] JBoss Web Services - Stack CXF Undertow http transport SUCCESS [ 0.977 s] [INFO] JBoss Web Services - Stack CXF Runtime Client ...... SUCCESS [ 4.931 s] [INFO] JBoss Web Services - Stack CXF Server .............. SUCCESS [ 2.172 s] [INFO] JBoss Web Services - Stack CXF Resources ........... SUCCESS [ 1.309 s] [INFO] JBoss Web Services - Stack CXF Test utils .......... SUCCESS [ 0.925 s] [INFO] JBoss Web Services - Stack CXF Distribution ........ SUCCESS [01:43 min] [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [ 19.666 s] [INFO] JBoss Web Services - Stack CXF Specific Tests ...... SUCCESS [ 27.452 s] [INFO] JBoss Web Services - Stack Agnostic Tests .......... FAILURE [ 19.477 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:16 min [INFO] Finished at: 2015-08-12T14:44:51+02:00 [INFO] Final Memory: 129M/216M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:testCompile (default-testCompile) on project jbossws-cxf-shared-tests: Compilation failure: Compilation failure: [ERROR] bootstrap class path not set in conjunction with -source 1.7 [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[77,11] error: cannot find symbol [ERROR] symbol: class Registration [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[171,11] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[203,11] error: cannot find symbol [ERROR] symbol: class InvoiceCustomer [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[236,11] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[261,11] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/ComplexTestCase.java:[281,11] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class ComplexTestCase [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[42,48] error: cannot find symbol [ERROR] symbol: class Registration [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,24] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,63] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[47,97] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[73,71] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: package org.jboss.test.ws.jaxws.complex [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,39] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,80] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[77,114] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,37] error: cannot find symbol [ERROR] symbol: class InvoiceCustomer [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,77] error: cannot find symbol [ERROR] symbol: class AlreadyRegisteredFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[104,111] error: cannot find symbol [ERROR] symbol: class ValidationFault_Exception [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[110,35] error: cannot find symbol [ERROR] symbol: class Customer [ERROR] location: class RegistrationServiceImpl [ERROR] /home/development/jbossqe/jbws51beta1/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/complex/RegistrationServiceImpl.java:[110,10] error: cannot find symbol [ERROR] symbol: class Statistics [ERROR] location: class RegistrationServiceImpl
[INFO] --- maven-compiler-plugin:2.4:testCompile (default-testCompile) @ jbossws-cxf-shared-tests --- [INFO] Compiling 1098 source files to /home/jbliznak/dev/ws/git/jbossws-cxf2/modules/testsuite/shared-tests/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error: warning: [options] bootstrap class path not set in conjunction with -source 1.7 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.main.Main.compile(Main.java:393) at com.sun.tools.javac.main.Main.compile(Main.java:382) at com.sun.tools.javac.main.Main.compile(Main.java:373) at com.sun.tools.javac.Main.compile(Main.java:86) 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.compiler.javac.JavacCompiler.compileInProcess0(JavacCompiler.java:554) at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:530) at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:165) at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:627) at org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:161) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) 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)
This is not the problem with older IBM JDK8
java version "1.8.0" Java(TM) SE Runtime Environment (build pxa6480-20150129_02) IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20150116_231420 (JIT enabled, AOT enabled) J9VM - R28_Java8_GA_20150116_2030_B231420 JIT - tr.r14.java_20150109_82886.02 GC - R28_Java8_GA_20150116_2030_B231420_CMPRSS J9CL - 20150116_231420) JCL - 20150123_01 based on Oracle jdk8u31-b12
Also it seems that execution running form toplevel dir of JBossWS project runs fine, but the reported behaviour is regression.
- is related to
-
JBWS-3937 Build and test failures with IBM JDK 8 (20150711_01 based on Oracle jdk8u51-b15)
- Closed