NullPointerException occuring in DefaultReferralManager

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.6.1
    • Affects Version/s: 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
    • Component/s: None
    • Environment:

      confluence.atlassian.com, rc-3

      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.

              Assignee:
              Unassigned
              Reporter:
              Christopher Owen [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: