You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Hoover (JIRA)" <ji...@apache.org> on 2017/11/27 23:52:00 UTC
[jira] [Created] (MNG-6315) NPE in MultiThreadedBuilder
David Hoover created MNG-6315:
---------------------------------
Summary: NPE in MultiThreadedBuilder
Key: MNG-6315
URL: https://issues.apache.org/jira/browse/MNG-6315
Project: Maven
Issue Type: Bug
Components: core
Reporter: David Hoover
This smells similar to MNG-6170
To reproduce, clone https://github.com/prestodb/presto (I've tested, in particular, at c0186a71815be31bac80253827e62c16fd04069f) and try to 'mvn -X -e versions:set versions:commit -DnewVersion=asdf'
That NPEs on https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java#L200 (projectBuild.getProject() has already been called up at https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java#L129 so presumably it's that lifecycleModuleBuilder is null?)
Running as two separate actions ("mvn versions:set" and then "mvn versions:commit") works for me, but not when combined.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)