Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-860 As a user, I can use a "Tests evolution" gadget
  3. XRAY-2076

Exception when a Test has an activity with a removed status

    XporterXMLWordPrintable

Details

    • Sub-bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R3.0.0
    • R3.0.0
    • None
    • None
    • R3.0.0 S1, R3.0.0 S2, R3.0.0 S3
    • UNCOVERED

    Description

      2017-09-22 17:16:06,158 http-nio-8765-exec-6 ERROR admin 1036x23526x1 18zc39f 0:0:0:0:0:0:0:1 /rest/raven/1.0/chart/test/evolution [c.x.r.r.t.service.impl.DefaultTestChartDataProvider] Error occurred when generating data bean for the tests evolution chart.
      java.util.NoSuchElementException
      at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:154)
      at com.google.common.collect.Iterators.find(Iterators.java:717)
      at com.google.common.collect.Iterables.find(Iterables.java:646)
      at com.xpandit.raven.statuses.DefaultTestStatusManager.getStatusByName(DefaultTestStatusManager.java:160)
      at com.xpandit.raven.reports.test.service.impl.DefaultTestChartDataProvider.addStatusToDataSet(DefaultTestChartDataProvider.java:360)
      at com.xpandit.raven.reports.test.service.impl.DefaultTestChartDataProvider.processTestActivities(DefaultTestChartDataProvider.java:235)
      at com.xpandit.raven.reports.test.service.impl.DefaultTestChartDataProvider.getTestsEvolutionChartData(DefaultTestChartDataProvider.java:120)
      at com.xpandit.raven.rest.internal.chart.TestChartDataResource.getTestsEvolutionData(TestChartDataResource.java:200)
      at com.xpandit.raven.rest.internal.chart.TestChartDataResource.getTestsEvolutionData(TestChartDataResource.java:183)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      ... 19 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
      ... 1 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
      ... 41 filtered
      at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      ... 53 filtered
      at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:80)
      ... 1 filtered
      at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:78)
      ... 16 filtered
      at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
      ... 20 filtered
      at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      ... 10 filtered
      at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      ... 4 filtered
      at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
      ... 29 filtered
      at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      ... 28 filtered
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            nmms Nuno Santos [X] (Inactive)
            nmms Nuno Santos [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Time Spent - 1 day, 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 1 day, 4 hours Remaining Estimate - 4 hours
                1d 4h