Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.10.0
-
1
-
Severity 3 - Minor
-
3
-
Description
Issue Summary
This issue relates to the following observed error:
2021-03-02 14:28:53,325 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.space.SpaceWillRemoveEvent[source=com.atlassian.confluence.spaces.DefaultSpaceManager@2413c797]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.content.CustomContentSpaceRemovalListener.spaceIsBeingRemoved(com.atlassian.confluence.event.events.space.SpaceWillRemoveEvent), listener=com.atlassian.confluence.content.CustomContentSpaceRemovalListener@4555917d} 2(timed)]– space: 3178504 | url: /confluence/spaces/doremovespace.action | traceId: 690f0060eb2da92e | userName: ??? | referer: https://confluence.REDACTED.com/confluence/spaces/removespace.action?key=SB | action: doremovespace 3java.lang.RuntimeException: Listener: com.atlassian.confluence.content.CustomContentSpaceRemovalListener event: com.atlassian.confluence.event.events.space.SpaceWillRemoveEvent 4... 5Caused by: java.lang.NullPointerException 6at com.atlassian.confluence.content.DefaultCustomContentManager.removeAllPluginContentInSpace(DefaultCustomContentManager.java:295) 7at com.atlassian.confluence.content.CustomContentSpaceRemovalListener.spaceIsBeingRemoved(CustomContentSpaceRemovalListener.java:31)
Steps to Reproduce
- Not exactly known, but involves purging the trash can with custom content in it.
Expected Results
No NPEs are thrown.
Actual Results
NPEs are thrown.
Workaround
None