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

Karl Heinz Marbaise commented on MNG-6315:
------------------------------------------

First are you using the most recent version of Maven 3.5.2 ? Furthermore are 
you using the most recent version of versions-maven-plugin (2.5) ? Can you add 
a log output which shows the problem.. ? 

Apart from that the [documentation of versions-maven-plugin 
states|http://www.mojohaus.org/versions-maven-plugin/usage.html] explicitly 
{{..you need to run these goals separately from any other goals or life-cycle 
phases.}}. 

> 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)

Reply via email to