java.lang.IllegalArgumentException: Can't add a parent from another space.

Atlassian JIRA | Nick Mason [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Steps to reproduce # In a new space, create a page with the "Decision" blueprint. # Go to the newly-created "Decision register" page in that space and move it to a second new space. # Click the "Track another decision" button to add a new decision, click Create, and receive the following stack trace: {code:none} Cause java.lang.IllegalArgumentException: Can't add a parent from another space. at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:103) Stack Trace:[hide] java.lang.IllegalArgumentException: Can't add a parent from another space. at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:103) at com.atlassian.confluence.pages.Page.setParentPage(Page.java:68) at com.atlassian.confluence.pages.Page.addChild(Page.java:140) at com.atlassian.confluence.plugins.createcontent.actions.CreateAndViewAction.beforeAdd(CreateAndViewAction.java:69) at com.atlassian.confluence.pages.actions.CreatePageAction.doAdd(CreatePageAction.java:124) 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) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) {code} Seems to be related to CONF-5103.

    Atlassian JIRA | 3 years ago | Nick Mason [Atlassian]
    java.lang.IllegalArgumentException: Can't add a parent from another space.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't add a parent from another space.

      at com.atlassian.confluence.pages.Page.checkParentValid()
    2. com.atlassian.confluence
      Page.checkParentValid
      1. com.atlassian.confluence.pages.Page.checkParentValid(Page.java:103)
      1 frame