Issue Details (XML | Word | Printable)

Key: CONF-9568
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Christopher Owen [Atlassian]
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Confluence

NullPointerException occuring in DefaultReferralManager

Created: 25/Sep/07 07:50 PM   Updated: 16/Oct/07 04:45 AM
Component/s: Web Interface
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
Fix Version/s: 2.6.1

Time Tracking:
Not Specified

Environment: confluence.atlassian.com, rc-3

Participants: Christopher Owen [Atlassian] and Per Fragemann [Atlassian]
Since last comment: 1 year, 12 weeks, 2 days ago
Internal Complexity: 2
Internal Value: 4
Resolution Date: 10/Oct/07 08:15 PM
Labels:


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Per Fragemann [Atlassian] added a comment - 16/Oct/07 04:45 AM
changing fix version since it has been committed and will make it into 2.6.1