Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21858

java.lang.NullPointerException while accessing NCover tab in Plan Summary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 9.0.0, 8.2.6
    • 8.2.5
    • Builds
    • None

    Description

      Issue Summary

      Throws "java.lang.NullPointerException" when clicking on the NCover tab at Plan Summary >> NCover tab

      Steps to Reproduce

      1. Enable "NCover output will be produced" option at Plan Configuration >> <jobName> >> Miscellaneous
      2. 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

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              dac6e1c9d0b2 Jyothi Charupalli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: