[ 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists