Uploaded image for project: 'SR for Confluence - Development'
  1. SR for Confluence - Development
  2. SRCONF-1653

Null pointer exception thrown when the BitVoodoo View Tracker plugin is installed and a search is made

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 6.18.0
    • None
    • Audit Logging
    • None
    • SR4C Sprint 159
    • 1

    Description

      Steps to Reproduce

      1. Install the View Tracker plugin
      2. Make a search at '<base_url>/dosearchsite.action?' you can add any query to the search
      3. Check out the confluence.log file and you should see the error below:

      Expected Behaviour

      A search will be made and no errors will be thrown

      Actual Behaviour

      The search is made and the following error is thrown in the logs: 

      ERROR [http-nio-8090-exec-5] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [{versionEventHandling=2.0.1, emitter=ch.bitvoodoo.confluence.plugins.searchtracker.events.SearchPerformedEvent, timestamp=1612976820320}] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.onresolve.scriptrunner.audit.events.listener.AuditedEventListener.onEvent(java.lang.Object), listener=com.onresolve.scriptrunner.audit.events.listener.AuditedEventListener@49acf55e} (timed)]
       -- referer: http://localhost:7100/plugins/servlet/upm | url: /rest/api/search | traceId: 6fe82fce743fbc94 | userName: admin
      java.lang.RuntimeException: Cannot invoke method isAnnotationPresent() on null object. Listener: com.onresolve.scriptrunner.audit.events.listener.AuditedEventListener event: java.util.Properties

      Workaround

      Disabling the ScriptRunner Audit log prevents this error message from being thrown

      Attachments

        Issue Links

          Activity

            People

              jyamdogo Josh Yamdogo
              lwonnacott Lee Wonnacott
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: