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

Generating a Bamboo report (e.g. Clover summary), for a build with manual stages or RSS build, hangs and throws: Null 'key' argument

    XMLWordPrintable

Details

    Description

      Summary

      When attempting to execute a report (e.g. Clover Summary) for a build that has the following condition(s), the report generation hangs and eventually an internal server error - java.lang.IllegalArgumentException: Null 'key' argument. is presented:

      1. Manual stages
        OR
      2. RSS Specs build

      Expected Results

      Report executes successfully.

      Actual Results

      The below Internal Server error is shown the UI and logged to atlassian-bamboo.log:

      Version: 5.10.2
      Build: 51019
      Build Date: 01 Mar 2016
      Request information:
      Request URL: https://bamboo.example.com:8443/chain/viewCloverSummary.action
      Scheme: https
      Server: bamboo.example.com
      Port: 8443
      URI: /chain/viewCloverSummary.action
      Context path:
      Servlet path: /chain/viewCloverSummary.action
      Path info:
      Query string: buildKey=PROJ-PLAN
      Stack Trace:
      
      java.lang.IllegalArgumentException: Null 'key' argument.
      	at org.jfree.data.DefaultKeyedValues2D.getRowIndex(DefaultKeyedValues2D.java:184)
      	at org.jfree.data.DefaultKeyedValues2D.setValue(DefaultKeyedValues2D.java:321)
      	at org.jfree.data.DefaultKeyedValues2D.addValue(DefaultKeyedValues2D.java:304)
      	at org.jfree.data.time.TimeTableXYDataset.add(TimeTableXYDataset.java:219)
      	at com.atlassian.bamboo.reports.collector.AbstractTimePeriodCollector.writeCollaterToDataSet(AbstractTimePeriodCollector.java:202)
      	at com.atlassian.bamboo.reports.collector.AbstractTimePeriodCollector.getDataset(AbstractTimePeriodCollector.java:83)
      	at com.atlassian.bamboo.clover.build.coverage.ViewCloverCoverageSummary.run(ViewCloverCoverageSummary.java:74)
      	at com.atlassian.bamboo.clover.build.coverage.ViewCloverCoverageSummary.execute(ViewCloverCoverageSummary.java:61)
      	at sun.reflect.GeneratedMethodAccessor1608.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
      

      Workaround

      No known workaround.

      Attachments

        Issue Links

          Activity

            People

              ezeidan Elias Zeidan (they/them)
              mparfianowicz Marek Parfianowicz
              Votes:
              10 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: