Description
Issue Summary
Throws "java.lang.NullPointerException" when clicking on the NCover tab at Plan Summary >> NCover tab
Steps to Reproduce
- Enable "NCover output will be produced" option at Plan Configuration >> <jobName> >> Miscellaneous
- Navigate to Plan Summary >> NCover tab
Expected Results
It will show the Coverage Summary Graph
Actual Results
The below exception is thrown in the browser:
Version: 8.2.5 Build: 80211 Build Date: 22 Jul 2022 Request information: Request URL: http://10.108.14.180:8085/build/viewNCoverSummary.action Scheme: http Server: 10.108.14.180 Port: 8085 URI: /build/viewNCoverSummary.action Context path: Servlet path: /build/viewNCoverSummary.action Path info: Query string: buildKey=TP-TBP-JOB1&_=1660643795457 Stack Trace: java.lang.NullPointerException at com.atlassian.bamboo.plugin.dotnet.ncover.ViewNCoverCoverageSummary.run(ViewNCoverCoverageSummary.java:69) at com.atlassian.bamboo.plugin.dotnet.ncover.ViewNCoverCoverageSummary.execute(ViewNCoverCoverageSummary.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at ognl.OgnlRuntime.invokeMethodInsideSandbox(OgnlRuntime.java:1266)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available