Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-65846

Plugin's CCEO does not have a parent

    XMLWordPrintable

Details

    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

      1. 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

      Attachments

        Activity

          People

            05a8667aef42 Saquia Naz
            dmorrow@atlassian.com Dugald Morrow
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: