java.lang.IllegalArgumentException: Can not set page as its own parent.

Atlassian JIRA | Jeremy Higgs | 1 decade 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

    If you perform the steps to set the parent page of a page as itself, the following exception occurs: java.lang.IllegalArgumentException: Can not set page as its own parent. at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:75) at com.atlassian.confluence.pages.Page.setParentPage(Page.java:53) at com.atlassian.confluence.pages.Page.addChild(Page.java:125) at com.atlassian.confluence.pages.actions.EditPageAction.updateParentPage(EditPageAction.java:240) at com.atlassian.confluence.pages.actions.EditPageAction.doSaveEditPageBean(EditPageAction.java:183) at com.atlassian.confluence.pages.actions.EditPageAction.doEdit(EditPageAction.java:221) 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:324) Steps to reproduce (borrowed from CONF-4940): 1. start with an existing page 2. bring up the page update screen 3. enter the name of the page in the page's parent page field 4. save ('update') 5. EXPECT: validation error indicating that a page cannot be its own parent 6. reenter the name of the page in the parent page field, but this time with a different case 7. EXPECT: validation error indicating that a page cannot be its own parent

    Atlassian JIRA | 1 decade ago | Jeremy Higgs
    java.lang.IllegalArgumentException: Can not set page as its own parent.
  2. 0

    If you perform the steps to set the parent page of a page as itself, the following exception occurs: java.lang.IllegalArgumentException: Can not set page as its own parent. at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:75) at com.atlassian.confluence.pages.Page.setParentPage(Page.java:53) at com.atlassian.confluence.pages.Page.addChild(Page.java:125) at com.atlassian.confluence.pages.actions.EditPageAction.updateParentPage(EditPageAction.java:240) at com.atlassian.confluence.pages.actions.EditPageAction.doSaveEditPageBean(EditPageAction.java:183) at com.atlassian.confluence.pages.actions.EditPageAction.doEdit(EditPageAction.java:221) 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:324) Steps to reproduce (borrowed from CONF-4940): 1. start with an existing page 2. bring up the page update screen 3. enter the name of the page in the page's parent page field 4. save ('update') 5. EXPECT: validation error indicating that a page cannot be its own parent 6. reenter the name of the page in the parent page field, but this time with a different case 7. EXPECT: validation error indicating that a page cannot be its own parent

    Atlassian JIRA | 1 decade ago | Jeremy Higgs
    java.lang.IllegalArgumentException: Can not set page as its own parent.
  3. 0

    Run android App Error (FATAL EXCEPTION: main Process: PID: 14099)

    Stack Overflow | 2 years ago | Hamza Abdullah
    java.lang.IllegalArgumentException: Expected receiver of type com.comp.easybuy.easybuy.MainActivity, but got android.view.ContextThemeWrapper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Struts Log Error - Method Invokation Failed

    Stack Overflow | 4 years ago | Zibbobz
    java.lang.IllegalArgumentException: argument type mismatch
  6. 0

    Spring How to get bean with prototype scope from ProxyFactoryBean

    Stack Overflow | 4 years ago | squirrelInTheBarel
    java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can not set page as its own parent.

      at com.atlassian.confluence.pages.Page.checkParentValid()
    2. com.atlassian.confluence
      EditPageAction.doEdit
      1. com.atlassian.confluence.pages.Page.checkParentValid(Page.java:75)
      2. com.atlassian.confluence.pages.Page.setParentPage(Page.java:53)
      3. com.atlassian.confluence.pages.Page.addChild(Page.java:125)
      4. com.atlassian.confluence.pages.actions.EditPageAction.updateParentPage(EditPageAction.java:240)
      5. com.atlassian.confluence.pages.actions.EditPageAction.doSaveEditPageBean(EditPageAction.java:183)
      6. com.atlassian.confluence.pages.actions.EditPageAction.doEdit(EditPageAction.java:221)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames