java.lang.NullPointerException

JDK Bug System | Webbug Group | 4 months ago
  1. 0

    FULL PRODUCT VERSION : [root@bamboo java]# java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux bamboo.hedgetrackers.local 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux A DESCRIPTION OF THE PROBLEM : [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Rate converter 3.0.13-Build-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ AcappellaFX-RateConverter --- [INFO] Deleting /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ AcappellaFX-RateConverter --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] skip non existing resourceDirectory /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target/addSrcMainResources [INFO] Copying 34 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ AcappellaFX-RateConverter --- [INFO] Compiling 232 source files to /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error: An exception has occurred in the compiler (1.7.0_80). 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 com.sun.tools.javac.comp.Check.isCanonical(Check.java:2753) at com.sun.tools.javac.comp.Check.checkCanonical(Check.java:2745) at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:559) at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:513) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413) at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:525) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:876) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821) at com.sun.tools.javac.comp.Enter.complete(Enter.java:491) at com.sun.tools.javac.comp.Enter.main(Enter.java:469) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) at com.sun.tools.javac.main.Main.compile(Main.java:439) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:342) at com.sun.tools.javac.main.Main.compile(Main.java:333) at com.sun.tools.javac.Main.compile(Main.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554) at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161) at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) 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:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Acappella .......................................... SUCCESS [ 0.188 s] [INFO] Capella ............................................ SUCCESS [ 0.065 s] [INFO] Test utilities ..................................... SUCCESS [ 1.004 s] [INFO] Server side common part ............................ SUCCESS [ 4.753 s] [INFO] Rates Project bridge ............................... SUCCESS [ 0.224 s] [INFO] MCR Client ......................................... SUCCESS [ 0.963 s] [INFO] AcappellaIR ........................................ SUCCESS [ 0.019 s] [INFO] IR Core of the system .............................. SUCCESS [ 4.904 s] [INFO] AcappellaIR-web .................................... SUCCESS [ 22.506 s] [INFO] Core of the system ................................. SUCCESS [ 7.507 s] [INFO] ORM part of project ................................ SUCCESS [ 3.633 s] [INFO] Services to provide external API ................... SUCCESS [ 3.046 s] [INFO] Rate converter ..................................... FAILURE [ 1.145 s] [INFO] Web part of project ................................ SKIPPED [INFO] Automation Application for Capella ORM project ..... SKIPPED [INFO] The Super User part of the project ................. SKIPPED [INFO] The Super User server part ......................... SKIPPED [INFO] The Super User web part ............................ SKIPPED [INFO] Web common part .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ REGRESSION. Last worked in version 7u80 ADDITIONAL REGRESSION INFORMATION: [root@bamboo java]# java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : mvn -DskipTests clean install EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Classes copied and war files built. ACTUAL - [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Rate converter 3.0.13-Build-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ AcappellaFX-RateConverter --- [INFO] Deleting /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ AcappellaFX-RateConverter --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] skip non existing resourceDirectory /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target/addSrcMainResources [INFO] Copying 34 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ AcappellaFX-RateConverter --- [INFO] Compiling 232 source files to /home/bamboo/irphase1/AcappellaFX/Phase1_Sustaining_Branch/AcappellaFX/rate_converter/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error: An exception has occurred in the compiler (1.7.0_80). 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 com.sun.tools.javac.comp.Check.isCanonical(Check.java:2753) at com.sun.tools.javac.comp.Check.checkCanonical(Check.java:2745) at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:559) at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:513) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413) at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:525) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:876) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821) at com.sun.tools.javac.comp.Enter.complete(Enter.java:491) at com.sun.tools.javac.comp.Enter.main(Enter.java:469) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) at com.sun.tools.javac.main.Main.compile(Main.java:439) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:342) at com.sun.tools.javac.main.Main.compile(Main.java:333) at com.sun.tools.javac.Main.compile(Main.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554) at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161) at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) 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:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Acappella .......................................... SUCCESS [ 0.188 s] [INFO] Capella ............................................ SUCCESS [ 0.065 s] [INFO] Test utilities ..................................... SUCCESS [ 1.004 s] [INFO] Server side common part ............................ SUCCESS [ 4.753 s] [INFO] Rates Project bridge ............................... SUCCESS [ 0.224 s] [INFO] MCR Client ......................................... SUCCESS [ 0.963 s] [INFO] AcappellaIR ........................................ SUCCESS [ 0.019 s] [INFO] IR Core of the system .............................. SUCCESS [ 4.904 s] [INFO] AcappellaIR-web .................................... SUCCESS [ 22.506 s] [INFO] Core of the system ................................. SUCCESS [ 7.507 s] [INFO] ORM part of project ................................ SUCCESS [ 3.633 s] [INFO] Services to provide external API ................... SUCCESS [ 3.046 s] [INFO] Rate converter ..................................... FAILURE [ 1.145 s] [INFO] Web part of project ................................ SKIPPED [INFO] Automation Application for Capella ORM project ..... SKIPPED [INFO] The Super User part of the project ................. SKIPPED [INFO] The Super User server part ......................... SKIPPED [INFO] The Super User web part ............................ SKIPPED [INFO] Web common part .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ REPRODUCIBILITY : This bug can be reproduced always.

    JDK Bug System | 4 months ago | Webbug Group
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.tools.javac.comp.Check.isCanonical()
    2. Java Tools
      Main.compile
      1. com.sun.tools.javac.comp.Check.isCanonical(Check.java:2753)
      2. com.sun.tools.javac.comp.Check.checkCanonical(Check.java:2745)
      3. com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:559)
      4. com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:513)
      5. com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
      6. com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413)
      7. com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:525)
      8. com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459)
      9. com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
      10. com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:876)
      11. com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)
      12. com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821)
      13. com.sun.tools.javac.comp.Enter.complete(Enter.java:491)
      14. com.sun.tools.javac.comp.Enter.main(Enter.java:469)
      15. com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929)
      16. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
      17. com.sun.tools.javac.main.Main.compile(Main.java:439)
      18. com.sun.tools.javac.main.Main.compile(Main.java:353)
      19. com.sun.tools.javac.main.Main.compile(Main.java:342)
      20. com.sun.tools.javac.main.Main.compile(Main.java:333)
      21. com.sun.tools.javac.Main.compile(Main.java:94)
      21 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Plexus Javac Component
      JavacCompiler.compile
      1. org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
      2. org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
      2 frames
    5. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
      2. org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
      3. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      3 frames
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames