maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5705) NPE on parallel build in BuilderCommon.handleBuildError(BuilderCommon.java:147)
Date Wed, 26 Dec 2018 14:23:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-5705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729050#comment-16729050
] 

Michael Osipov commented on MNG-5705:
-------------------------------------

[~pekarna], can you check branch MNG-5965 if it solves your issue?

> NPE on parallel build in BuilderCommon.handleBuildError(BuilderCommon.java:147)
> -------------------------------------------------------------------------------
>
>                 Key: MNG-5705
>                 URL: https://issues.apache.org/jira/browse/MNG-5705
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 3.2.1
>            Reporter: Ondra Žižka
>            Priority: Major
>
> STR:
> {code}
> git clone git@github.com:OndraZizka/windup.git
> cd windup
> git checkout 91a454b  # MavenNPE2
> mvn -T 1C clean javadoc:aggregate -PjavadocDist
> {code}
> {code}
> [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
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message