Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-4047

An UncaughtException caused by Anonymous Analytics is thrown showing that the behaviourId is null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.7
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 71
    • Critical Points:
      7.1

      Description

      There are customers who have encountered this error message:-

      /rest/scriptrunner/behaviours/latest/validators.json [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null value in entry: behaviourId=null
      
      java.lang.NullPointerException: null value in entry: behaviourId=null
      
              at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)
      
              at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:88)
      
              at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:294)
      
              at com.segment.analytics.messages.ImmutableMap.copyOf(ImmutableMap.java:25)
      
              at com.segment.analytics.messages.TrackMessage$Builder.properties(TrackMessage.java:67)
      
              at com.adaptavist.analytic.dispatcher.SegmentAnalyticDispatcher.track(SegmentAnalyticDispatcher.java:201)
      
              at com.adaptavist.analytic.dispatcher.SegmentAnalyticDispatcher.dispatch(SegmentAnalyticDispatcher.java:158)
      
              at com.adaptavist.analytic.service.DefaultAnalyticService.track(DefaultAnalyticService.java:177)
      
              at com.adaptavist.analytic.service.AnalyticService$track.call(Unknown Source)
      
              at com.onresolve.scriptrunner.analytics.tracking.TrackingServiceImpl.trackEvent(TrackingServiceImpl.groovy:44)
      
              ... 2 filtered
      

      Once this error message is thrown, the customer's behaviour functions fail to work.

      Only once the Anonymous Analytics feature is disabled, does the error stop.

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            rkumar Ram Kumar Aravindakshan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: