Issue Details (XML | Word | Printable)

Key: MARK-42
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Chui
Reporter: Matt Ryall
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Social Bookmarking Plugin

Notifications for bookmark pages have NullPointerException for bookmark macro

Created: 14/Sep/07 06:15 AM   Updated: 10/Mar/08 01:07 AM
Component/s: {bookmark}
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Time Tracking:
Not Specified

Labels:


 Description  « Hide
I am watching a space, and when someone adds a bookmark, I get a page-created notification. The plain text version of this mail includes the error:
  Page Created : KEY : Test Bookmark

Test Bookmark has been created by Admin (Sep 13, 2007).
Content:
Error formatting macro: bookmark: java.lang.NullPointerException

Bookmark content

I don't have access to the server to get the full stack trace unfortunately. I imagine it is something to do with the execution context of the macro in a notification not having a user or request or something like that.



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Chris Harland added a comment - 08/Mar/08 06:33 AM
These are the last couple of lines from my server log after getting an email with this error:-

2008-03-08 12:25:36,247 WARN [http-8090-Processor21] [apache.commons.httpclient.HttpMethodBase] getResponseBody Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2008-03-08 12:26:38,995 WARN [http-8090-Processor17] [apache.commons.httpclient.HttpMethodBase] getResponseBody Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.