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 2023/05/24 20:34:00 UTC
[jira] [Created] (SUREFIRE-2169) Potential NPE in WrappedReportEntry when #getElapsed() is called
Michael Osipov created SUREFIRE-2169:
----------------------------------------
Summary: 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
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)