You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/10/13 11:52:00 UTC
[jira] [Created] (MNG-7564) Potential NPE in MavenMetadataSource
Michael Osipov created MNG-7564:
-----------------------------------
Summary: Potential NPE in MavenMetadataSource
Key: MNG-7564
URL: https://issues.apache.org/jira/browse/MNG-7564
Project: Maven
Issue Type: Bug
Reporter: Michael Osipov
In here: https://github.com/apache/maven/blob/cb54aa429d9e63bf78c4c808898fbef1cc01ff33/maven-core/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java#L198-L203
{{LegacySupport#getSession()}} can be {{null}}, but never tested. If {{null}} en empty list should be returned.
This was indirectly found by [~gnodet].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)