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

NullPointerException occuring in DefaultReferralManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.6.1
    • 2.5, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.6.0
    • None
    • confluence.atlassian.com, rc-3

    Description

      NullPointerExceptions of the following form are occurring on c.a.c:

      [21:21:48.099] java.lang.NullPointerException
      [21:21:48.099]  at com.atlassian.confluence.links.DefaultReferralManager.saveTrackback(DefaultReferralManager.java:71)
      [21:21:48.099]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [21:21:48.099]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [21:21:48.099]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [21:21:48.099]  at java.lang.reflect.Method.invoke(Method.java:597)
      [21:21:48.099]  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      [21:21:48.099]  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      [21:21:48.099]  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      

      Looks like we don't verifiy whether the CEO id in the trackback ping exists before we attempt to use it. We should fail appropriately when the CEO cannot be found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            christopher.owen@atlassian.com Christopher Owen [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: