Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.8.6, 4.0.0-alpha-3
-
None
-
None
Description
org.apache.maven.project.MavenProject.hashCode() has the following code:
public int hashCode() { int hash = 17; hash = 31 * hash + getGroupId().hashCode(); hash = 31 * hash + getArtifactId().hashCode(); hash = 31 * hash + getVersion().hashCode(); return hash; }
if any of those values is null, a NPE is thrown from the method.
Attachments
Issue Links
- links to