You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/28 10:48:00 UTC
[jira] [Commented] (MNG-7564) Potential NPE in MavenMetadataSource
[ https://issues.apache.org/jira/browse/MNG-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625594#comment-17625594 ]
ASF GitHub Bot commented on MNG-7564:
-------------------------------------
AbdelHajou opened a new pull request, #857:
URL: https://github.com/apache/maven/pull/857
JIRA issue: https://issues.apache.org/jira/browse/MNG-7564
To make clear that you license your contribution under
the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
you have to acknowledge this by using the following check-box.
- [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
- [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
[core-its]: https://maven.apache.org/core-its/core-it-suite/
> Potential NPE in MavenMetadataSource
> ------------------------------------
>
> Key: MNG-7564
> URL: https://issues.apache.org/jira/browse/MNG-7564
> Project: Maven
> Issue Type: Bug
> Reporter: Michael Osipov
> Assignee: Maarten Mulders
> Priority: Major
> Labels: up-for-grabs
>
> 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}} an empty list should be returned.
> This was indirectly found by [~gnodet].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)