javax.jdo.JDOUserException: One or more instances could not be deleted

Apache's JIRA Issue Tracker | Michael Johns | 8 years ago
  1. 0

    When trying to delete a project group: javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTDEPENDENCY WHERE PROJECTDEPENDENCY_ID=? NestedThrowables: SQL Exception: DELETE on table 'PROJECTDEPENDENCY' caused a violation of foreign key constraint 'PROJECT_FK2' for key (5107). The statement has been rolled back. A snippet of the stack trace: javax.jdo.JDOUserException: One or more instances could not be deleted at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1525) at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1498) at org.jpox.store.rdbms.scostore.FKListStore.clear(FKListStore.java:1137) at org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMapping.java:334) at org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:2651) at org.jpox.store.StoreManager.deleteDependent(StoreManager.java:1019) at org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4405) at org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPersistenceManager.java:1473) at org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistenceManager.java:1489) at org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:121) at org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoContinuumStore.java:1906) at org.apache.maven.continuum.store.JdoContinuumStore.removeBuildResult(JdoContinuumStore.java:600) at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:719) at org.apache.maven.continuum.DefaultContinuum.removeProjectGroup(DefaultContinuum.java:278) at org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:263) [...]

    Apache's JIRA Issue Tracker | 8 years ago | Michael Johns
    javax.jdo.JDOUserException: One or more instances could not be deleted
  2. 0

    The class "The class "com.google.appengine.api.datastore.Key" is not persistable

    Stack Overflow | 5 years ago | Mylo
    javax.jdo.JDOUserException: One or more instances could not be deleted
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Where do I set TransactionOptions with JDO / Google App Engine?

    Stack Overflow | 3 years ago | Maarten
    javax.jdo.JDOUserException: One or more instances could not be made persistent
  5. 0

    Tokens + JdoCredentialStore - Transient instances cant be deleted

    GitHub | 2 years ago | wonderfly
    javax.jdo.JDOUserException: Transient instances cant be deleted.

    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. javax.jdo.JDOUserException

      One or more instances could not be deleted

      at org.jpox.AbstractPersistenceManager.deletePersistentAll()
    2. org.jpox
      AbstractPersistenceManager.deletePersistentAll
      1. org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1525)
      2. org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1498)
      2 frames
    3. org.jpox.store
      StoreManager.deleteDependent
      1. org.jpox.store.rdbms.scostore.FKListStore.clear(FKListStore.java:1137)
      2. org.jpox.store.mapping.CollectionMapping.deleteDependent(CollectionMapping.java:334)
      3. org.jpox.store.rdbms.table.ClassTable.deleteDependent(ClassTable.java:2651)
      4. org.jpox.store.StoreManager.deleteDependent(StoreManager.java:1019)
      4 frames
    4. org.jpox.state
      StateManagerImpl.deletePersistent
      1. org.jpox.state.StateManagerImpl.deletePersistent(StateManagerImpl.java:4405)
      1 frame
    5. org.jpox
      AbstractPersistenceManager.deletePersistent
      1. org.jpox.AbstractPersistenceManager.internalDeletePersistent(AbstractPersistenceManager.java:1473)
      2. org.jpox.AbstractPersistenceManager.deletePersistent(AbstractPersistenceManager.java:1489)
      2 frames
    6. org.codehaus.plexus
      PlexusJdoUtils.removeObject
      1. org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(PlexusJdoUtils.java:121)
      1 frame
    7. org.apache.maven
      ProjectGroupAction.remove
      1. org.apache.maven.continuum.store.JdoContinuumStore.removeObject(JdoContinuumStore.java:1906)
      2. org.apache.maven.continuum.store.JdoContinuumStore.removeBuildResult(JdoContinuumStore.java:600)
      3. org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:719)
      4. org.apache.maven.continuum.DefaultContinuum.removeProjectGroup(DefaultContinuum.java:278)
      5. org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:263)
      5 frames