[
https://issues.apache.org/jira/browse/SUREFIRE-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed SUREFIRE-2169.
------------------------------------
Resolution: Fixed
Fixed with
[56ebd61d8af355ad630625ff8044e93ce6d9dfef|https://gitbox.apache.org/repos/asf?p=maven-surefire.git&a=commit&h=56ebd61d8af355ad630625ff8044e93ce6d9dfef].
> Potential NPE in WrappedReportEntry when #getElapsed() is called
> ----------------------------------------------------------------
>
> Key: SUREFIRE-2169
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2169
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.1.1
>
>
> Several code spots use the return value of {{#getElapsed()}} which is an
> {{Integer}}, but do not check for a potential {{null}} which can lead to a
> NPE:
--
This message was sent by Atlassian Jira
(v8.20.10#820010)