Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
6.18.0
-
None
-
None
-
SR4C Sprint 159
-
1
Description
Steps to Reproduce
- Install the View Tracker plugin
- Make a search at '<base_url>/dosearchsite.action?' you can add any query to the search
- 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
- relates to
-
SRCONF-1569 Scheduled Blog Posts of the Linchpin plugin are not working when the ScriptRunner Audit log is enabled
-
- Done
-