Details
-
Bug
-
Resolution: Fixed
-
Medium
-
10
-
Severity 2 - Major
-
Description
Summary
When attempting to view Drafts previously created, a NPE Stack Trace is generated.
Environment
- Confluence 6.0.0-OD-2016.12.1
Steps to Reproduce
- Sign in to Confluence
- Click on your profile picture in the top right corner of the menu bar.
- Choose Drafts
Expected Results
A list of draft pages are shown
Actual Results
Stack trace is generated on the web console; same error is presented in JIRA Logs:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getResumableDraftsBySpace' in class com.atlassian.confluence.user.actions.ViewMyDraftsAction threw exception java.lang.NullPointerException at /users/viewmydrafts.vm[line 118, column 30] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) caused by: java.lang.NullPointerException at com.atlassian.confluence.pages.DraftsTransitionHelper.getSpaceKey(DraftsTransitionHelper.java:96) ... Caused by: java.lang.NullPointerException
Notes
It appears to only affect users who have existing drafts.
Attempted to repro with a Brand New User; created a draft and was able to view the drafts page without issues
Workaround
No workaround at this time
Attachments
Issue Links
- is superseded by
-
CONFSERVER-41271 Stack Trace Generated When Trying to View Drafts linked to a non existent Space
- Closed