[ 
https://issues.apache.org/jira/browse/NETBEANS-5763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361396#comment-17361396
 ] 

Nathan Callister edited comment on NETBEANS-5763 at 6/11/21, 5:06 AM:
----------------------------------------------------------------------

This is likely related to NETBEANS-5528 and NETBEANS-5300


was (Author: gaspode):
This is likely related to NETBEANS-5528

> NullPointerException prevents display of Coverage Report
> --------------------------------------------------------
>
>                 Key: NETBEANS-5763
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5763
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 12.4
>         Environment: Netbeans 12.4 installed via snap on Ubuntu 18.04.
> JRE is OpenJDK 11.
> The project is a Java Maven project.
> Code coverage is provided by: org.jacoco:jacoco-maven-plugin:0.8.6
>            Reporter: Nathan Callister
>            Priority: Minor
>
> Whenever I attempt to display the code coverage report I get the status bar 
> below the code but I cannot view the report.
> I am able to reproduce this every time, I am unable to not produce this.
> Netbeans reports an unexpected error:
> {code:java}
> SEVERE [global]
> 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)
>       at 
> java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
>       at 
> java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
>       at 
> java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
>       at 
> java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
>       at 
> java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
>       at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
>       at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
>       at java.desktop/java.awt.Component.processEvent(Component.java:6400)
>       at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>       at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
>       at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
>       at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
>       at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
>       at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
>       at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
>       at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
>       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>       at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
>  UI Log:
> {code}
> <record>
>   <date>2021-06-09T18:01:21</date>
>   <millis>1623225681801</millis>
>   <sequence>8551</sequence>
>   <level>700</level>
>   <thread>1288</thread>
>   <message>UI_USER_CONFIGURATION</message>
>   <key>UI_USER_CONFIGURATION</key>
>   <catalog>org.netbeans.modules.uihandler.Bundle</catalog>
>   <param>Linux, 5.4.0-74-generic, amd64</param>
>   <param>OpenJDK 64-Bit Server VM, 11.0.11+9-Ubuntu-0ubuntu2.18.04, OpenJDK 
> Runtime Environment, 11.0.11+9-Ubuntu-0ubuntu2.18.04</param>
>   <param>Apache NetBeans IDE 12.4</param>
>   <param></param>
>   <param>NullPointerException at 
> org.netbeans.modules.gsf.codecoverage.CoverageReportTopComponent.&lt;init&gt;</param>
>   <param>&lt;Please provide a description of the problem or the steps to 
> reproduce&gt;</param>
>   <param>*********</param>
> </record>
> {code}
>  



--
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

Reply via email to