Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 411097 - NPE on set-versions
Summary: NPE on set-versions
Status: CLOSED DUPLICATE of bug 409912
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 05:35 EDT by Simon Goodall CLA
Modified: 2021-04-28 16:53 EDT (History)
1 user (show)

See Also:


Attachments
Sample problem pom (629 bytes, text/xml)
2013-06-19 05:35 EDT, Simon Goodall CLA
no flags Details
Error log of problem (16.25 KB, application/octet-stream)
2013-06-19 05:37 EDT, Simon Goodall CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Goodall CLA 2013-06-19 05:35:57 EDT
Created attachment 232529 [details]
Sample problem pom

I am getting a NullPointerException on a project when using the set-version mojo with Tycho 0.18.0. I have no problems using tycho 0.17.0.

I've tracked it down to my inclusion of the maven assembly plugin in my pom. As often shown in example the groupId is omitted. This appears to cause the NPE.
Comment 1 Simon Goodall CLA 2013-06-19 05:37:08 EDT
Created attachment 232530 [details]
Error log of problem
Comment 2 Simon Goodall CLA 2013-06-19 05:37:50 EDT
My command execution is;

mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=2.0.0-SNAPSHOT
Comment 3 Jan Sievers CLA 2013-06-19 05:39:10 EDT

*** This bug has been marked as a duplicate of bug 409912 ***