[ https://issues.apache.org/jira/browse/NETBEANS-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca Mambretti closed NETBEANS-5300. ------------------------------------ Fix Version/s: 12.6 Resolution: Fixed I can confirm that this indeed works as expected in version 12.6 I had already updated and found it was solved just forgot to close the issue. > Code Coverage Report no longer works throwing NPE > ------------------------------------------------- > > Key: NETBEANS-5300 > URL: https://issues.apache.org/jira/browse/NETBEANS-5300 > Project: NetBeans > Issue Type: Bug > Components: maven - codecoverage > Affects Versions: 12.2, 12.3 > Environment: *Product Version:* Apache NetBeans IDE 12.2 > *Java:* 11; Java HotSpot(TM) 64-Bit Server VM 11+28 > *Runtime:* Java(TM) SE Runtime Environment 11+28 > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) > Reporter: Luca Mambretti > Priority: Critical > Labels: regression > Fix For: 12.6 > > Attachments: idelog.log, image-2022-01-17-14-35-12-004.png > > > When invoking the Code Coverage report from a Maven project with jacoco > enabled > <plugin> > <groupId>org.jacoco</groupId> > <artifactId>jacoco-maven-plugin</artifactId> > <version>0.8.6</version> > </plugin> > > Instead of showing the code coverage report the IDE throws an NPE and does > nothing. > > For convenience the relevant NPE bit full log attached > java.lang.NullPointerException > at > org.netbeans.modules.gsf.codecoverage.CoverageReportTopComponent.<init>(CoverageReportTopComponent.java:171) > at > org.netbeans.modules.gsf.codecoverage.CoverageManagerImpl.showReport(CoverageManagerImpl.java:276) > at > org.netbeans.modules.gsf.codecoverage.CoverageAction$CoverageItemHandler.actionPerformed(CoverageAction.java:268) > > > This works OK in 12.0 not tested in 12.1 > -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- 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