-
Bug
-
Resolution: Fixed
-
Low
-
8.0.0-struts-m020
-
Severity 3 - Minor
-
Issue Summary
NPE in ConfluenceEventListenerwith Struts
Steps to Reproduce
Use Rest watch API
Expected Results
No exception
Actual Results
The below exception is thrown in the xxxxxxx.log file:
2022-08-02 06:47:30,194 ERROR [Long running task: Space removal long running task] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageRemoveEvent@4434911d[page=page: Test Space 1229825022930 Home v.1 (100154),suppressNotifications=false,timestamp=1659422850187]] from the invoker [com.atlassian.event.internal.ComparableListenerInvoker@2e5d83e1] -- url: /confluence/rest/api/space/TEST1229825022930 | userName: admin | traceId: 06da8eb896a8238d Caused by: java.lang.NullPointerException at org.apache.struts2.ServletActionContext.getRequest(ServletActionContext.java:113) ~[org.apache.struts_struts2-core-2.5.30-atlassian-3-m02.jar:2.5.30-atlassian-3-m02] at com.addonengine.addons.analytics.event.ConfluenceEventListener.publishAsyncEvent(ConfluenceEventListener.kt:158) ~[?:?] at com.addonengine.addons.analytics.event.ConfluenceEventListener.onPageRemoveEvent(ConfluenceEventListener.kt:106) ~[?:?] at jdk.internal.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42) ~[com.atlassian.event_atlassian-event-5.0.1.jar:?] ... 78 more
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- mentioned in
-
Page Failed to load
[CONFSERVER-79607] FIx NPE in ConfluenceEventListenerwith Struts - analytics-for-confluence
Fix Version/s | New: 8.0.0-struts-m48 [ 103098 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › Main Plugins - Samurai › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › WebDriver Visual Regression tests (Chrome 3.141.59) › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › Mixed Versions Tests, Postgres 14.x, Tomcat 9, Java 11 › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Performance › Page Weight Ratchet Build › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › Main Tests (Postgres 14.x, Tomcat 9) › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › WebDriver tests (Chrome 3.141.59, Adoptium Temurin 17) › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › A11y tests › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › Data Center Tests, Postgres 14.x, Tomcat 9, Java 11 › issue-80- |