Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5705

NPE on parallel build in BuilderCommon.handleBuildError(BuilderCommon.java:147)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.6.1
    • Component/s: Bootstrap & Build
    • Labels:
      None

      Description

      STR:

      git clone git@github.com:OndraZizka/windup.git
      cd windup
      git checkout 91a454b  # MavenNPE2
      mvn -T 1C clean javadoc:aggregate -PjavadocDist
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Windup Parent ..................................... SUCCESS [  0.132 s]
      [INFO] Windup Engine - Frames ............................ SUCCESS [  0.009 s]
      [INFO] Windup Engine - Utils ............................. SUCCESS [  0.035 s]
      [INFO] Windup Engine - Graph Parent ...................... SUCCESS [  0.004 s]
      [INFO] Windup Engine - Graph API ......................... FAILURE [  0.003 s]
      [INFO] Windup Engine - Graph Impl ........................ SKIPPED
      [INFO] Windup Engine - Graph Addon ....................... SKIPPED
      [INFO] Windup Engine - Graph Tests ....................... SKIPPED
      [INFO] Windup Engine - Config Parent ..................... SUCCESS [  0.008 s]
      [INFO] Windup Engine - Config API ........................ SKIPPED
      [INFO] Windup Engine - Config Impl ....................... SKIPPED
      [INFO] Windup Engine - Config Addon ...................... SKIPPED
      [INFO] Windup Engine - Decompiler ........................ SUCCESS [  0.011 s]
      [INFO] Windup Engine - Decompiler API .................... SUCCESS [  0.039 s]
      [INFO] Windup Engine - Decompiler Procyon ................ SKIPPED
      [INFO] Windup Extension - Config - XML ................... SKIPPED
      [INFO] Windup Engine - Reporting Parent .................. SUCCESS [  0.016 s]
      [INFO] Windup Engine - Reporting API ..................... SKIPPED
      [INFO] Windup Engine - Reporting Impl .................... SKIPPED
      [INFO] Windup Engine - Reporting Addon ................... SKIPPED
      [INFO] Windup Engine - Execution API Parent .............. SUCCESS [  0.003 s]
      [INFO] Windup Engine - Execution API ..................... SKIPPED
      [INFO] Windup Engine - Execution API Impl ................ SKIPPED
      [INFO] Windup Engine - Execution API Addon ............... SKIPPED
      [INFO] Windup Rules - XML - Basic ........................ SKIPPED
      [INFO] Windup Extension - Config - Groovy ................ SKIPPED
      [INFO] Windup Rules - Java - Basic ....................... SKIPPED
      [INFO] Windup Engine - Config Tests ...................... SKIPPED
      [INFO] Windup Rules - Java EE - Basic .................... SKIPPED
      [INFO] Windup Engine - Execution API Tests ............... SKIPPED
      [INFO] Windup Engine - Reporting Tests ................... SKIPPED
      [INFO] Windup Engine - UI ................................ SKIPPED
      [INFO] Windup Engine - Test Utilities .................... SUCCESS [  0.004 s]
      [INFO] Windup Engine - Tests ............................. SKIPPED
      [INFO] Windup - Bootstrap module ......................... SUCCESS [  0.002 s]
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ decompiler-api ---
      [INFO] Windup - Distribution Build ....................... FAILURE [  0.008 s]
      [INFO] Windup Rulesets BOM ............................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.721 s (Wall Clock)
      [INFO] Finished at: 2014-10-22T16:39:30+01:00
      [INFO] Final Memory: 21M/211M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
              at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
              at org.apache.maven.execution.MavenSession.getPluginContext(MavenSession.java:314)
              at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:504)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:120)
              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:108)
              ... 8 more
      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
              at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
              at org.apache.maven.cli.event.ExecutionEventLogger.projectStarted(ExecutionEventLogger.java:232)
              at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:71)
              at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:99)
              ... 8 more
      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
              at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
              at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:288)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
              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:108)
              ... 8 more
      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
              at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188)
              at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
              at org.apache.maven.plugin.internal.DefaultMavenPluginManager.calcImports(DefaultMavenPluginManager.java:413)
              at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:308)
              at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:230)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:100)
              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:108)
              ... 8 more
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                pekarna Ondra Žižka
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: