You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Eric Barboni (Jira)" <ji...@apache.org> on 2021/06/16 10:49:00 UTC
[jira] [Resolved] (NETBEANS-5528) Nullpointer on
CoverageReportTopComponent when running junit tests
[ https://issues.apache.org/jira/browse/NETBEANS-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Barboni resolved NETBEANS-5528.
------------------------------------
Resolution: Fixed
> Nullpointer on CoverageReportTopComponent when running junit tests
> ------------------------------------------------------------------
>
> Key: NETBEANS-5528
> URL: https://issues.apache.org/jira/browse/NETBEANS-5528
> Project: NetBeans
> Issue Type: Bug
> Components: utilities - Test Runner
> Affects Versions: 12.3
> Environment: Linux Ubuntu with Gnome Shell.
> Bug found with Jdk 11, confirmed upgrading to Jdk 15.
> Reporter: Stefano Peruzzi
> Priority: Critical
> Labels: coverage, nullpointerexception, pull-request-available, test
> Fix For: 12.5
>
> Attachments: messages.log
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Running test with coverage threw a NullPointerException:
> SEVERE [global]
> java.lang.NullPointerException
> at org.netbeans.modules.gsf.codecoverage.CoverageReportTopComponent.updateData(CoverageReportTopComponent.java:367)
> Tests are all passed, but coverage is not shown.
> Now using mouse right button on the project -> code coverage -> show report
> results in a NPE with description: NullPointerException: Cannot invoke "org.netbeans.modules.gsf.codecoverage.api.FileCoverageSummary.getLineCount()" because "summary" is null
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists