Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.0-OD-27, 5.0
-
None
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Steps to reproduce:
- Go to a Confluence space admin.
- Set an empty homepage for the space.
- Try to create a page in that space and it will result in a stack trace.
java.lang.NullPointerException at com.atlassian.confluence.pages.actions.AbstractCreatePageAction.getFromPage(AbstractCreatePageAction.java:274) Stack Trace:[hide] java.lang.NullPointerException at com.atlassian.confluence.pages.actions.AbstractCreatePageAction.getFromPage(AbstractCreatePageAction.java:274) at com.atlassian.confluence.pages.actions.CreatePageAction.populateParentPageTitleField(CreatePageAction.java:187) at com.atlassian.confluence.pages.actions.CreatePageAction.doDefault(CreatePageAction.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)
There should be a more meaningful error message or make it impossible to set an empty page as the homepage for a space.
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-28029 Always make the first page of a space be the Home page
- Closed
- relates to
-
CONFCLOUD-27885 Setting no homepage for a Confluence will result in inability to create pages
- Closed