java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space

Atlassian JIRA | Dave Loeng [Atlassian] | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Here is the exception we had. The build is here: https://bamboo.extranet.atlassian.com/browse/CONFFUNC-CLUST5MYSQLR-288 java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.xmlRpcExecute(AbstractConfluenceAcceptanceTest.java:2048) at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.cleanUp(AbstractConfluenceAcceptanceTest.java:301) at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.setUp(AbstractConfluenceAcceptanceTest.java:201) at com.atlassian.confluence.PageExportAcceptanceTest.setUp(PageExportAcceptanceTest.java:13) at junit.framework.TestCase.runBare(TestCase.java:125) at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58) at junit.framework.TestResult$1.protect(TestResult.java:106) (29 more lines...)

    Atlassian JIRA | 10 years ago | Dave Loeng [Atlassian]
    java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space
  2. 0

    Here is the exception we had. The build is here: https://bamboo.extranet.atlassian.com/browse/CONFFUNC-CLUST5MYSQLR-288 java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.xmlRpcExecute(AbstractConfluenceAcceptanceTest.java:2048) at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.cleanUp(AbstractConfluenceAcceptanceTest.java:301) at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.setUp(AbstractConfluenceAcceptanceTest.java:201) at com.atlassian.confluence.PageExportAcceptanceTest.setUp(PageExportAcceptanceTest.java:13) at junit.framework.TestCase.runBare(TestCase.java:125) at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58) at junit.framework.TestResult$1.protect(TestResult.java:106) (29 more lines...)

    Atlassian JIRA | 10 years ago | Dave Loeng [Atlassian]
    java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space

    Root Cause Analysis

    1. java.lang.Exception

      org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space

      at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.xmlRpcExecute()
    2. com.atlassian.confluence
      PageExportAcceptanceTest.setUp
      1. com.atlassian.confluence.AbstractConfluenceAcceptanceTest.xmlRpcExecute(AbstractConfluenceAcceptanceTest.java:2048)
      2. com.atlassian.confluence.AbstractConfluenceAcceptanceTest.cleanUp(AbstractConfluenceAcceptanceTest.java:301)
      3. com.atlassian.confluence.AbstractConfluenceAcceptanceTest.setUp(AbstractConfluenceAcceptanceTest.java:201)
      4. com.atlassian.confluence.PageExportAcceptanceTest.setUp(PageExportAcceptanceTest.java:13)
      4 frames
    3. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runBare(TestCase.java:125)
      1 frame
    4. Core - API
      WebTestCase.runBare
      1. net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58)
      1 frame
    5. JUnit
      TestResult$1.protect
      1. junit.framework.TestResult$1.protect(TestResult.java:106)
      1 frame