Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6234

Report with rolling data filter causes Process overview to fail

XMLWordPrintable

    • Not defined

      Brief summary of the bug. What is it ? Where is it ?

      Steps to reproduce:

       

      1. Create a single number report
      2. configure it as kpi report
      3. add a rolling date filter to it
      4. open the process overview

      Actual result:

      5. the overview retrieval fails with a 500

      the log shows:

      08:13:04.111 [qtp1427350635-8286] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
      java.lang.NullPointerException: zone
      	at java.base/java.util.Objects.requireNonNull(Objects.java:246)
      	at java.base/java.time.ZonedDateTime.ofInstant(ZonedDateTime.java:435)
      	at java.base/java.time.OffsetDateTime.atZoneSameInstant(OffsetDateTime.java:1694)
      	at org.camunda.optimize.service.security.util.LocalDateUtil.atSameTimezoneOffsetDateTime(LocalDateUtil.java:51)
      	at org.camunda.optimize.service.security.util.LocalDateUtil.getCurrentTimeWithTimezone(LocalDateUtil.java:38)
      	at org.camunda.optimize.service.es.filter.util.DateFilterQueryUtil.createRollingDateFilter(DateFilterQueryUtil.java:99)
      	at org.camunda.optimize.service.es.filter.util.DateFilterQueryUtil.createRangeQuery(DateFilterQueryUtil.java:59)
      	at org.camunda.optimize.service.es.filter.util.DateFilterQueryUtil.addFilters(DateFilterQueryUtil.java:42)
      	at org.camunda.optimize.service.es.filter.InstanceEndDateQueryFilter.addFilters(InstanceEndDateQueryFilter.java:26)
      	at org.camunda.optimize.service.es.filter.ProcessQueryFilterEnhancer.addFilterToQuery(ProcessQueryFilterEnhancer.java:97)
      	at org.camunda.optimize.service.es.report.command.exec.ProcessReportCmdExecutionPlan.setupBaseQuery(ProcessReportCmdExecutionPlan.java:79)

      Expected result:

      it should work

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: