continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Catherine Tan (JIRA)" <>
Subject [jira] (CONTINUUM-2552) JDOException when deleting a project
Date Mon, 30 Apr 2012 05:58:02 GMT


Maria Catherine Tan closed CONTINUUM-2552.

    Resolution: Cannot Reproduce

Can no longer reproduce this.
> JDOException when deleting a project
> ------------------------------------
>                 Key: CONTINUUM-2552
>                 URL:
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, Database
>    Affects Versions: 1.4.0 (Beta)
>            Reporter: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
> We already set the parent to null, cleared project dependency and modified dependencies
of build result but there are times that Continuum is still throwing a JDOException when deleting
a project.
> Maybe setting the build result's project to null before removing the build result might
> Error Occured
> 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: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:
Cannot delete or update a parent row: a foreign key constraint fails (`continuum107`.`PROJECT`,
> Show/hide Stack Trace
>         javax.jdo.JDOUserException: One or more instances could not be deleted
> 	at org.jpox.AbstractPersistenceManager.deletePersistentAll(
> 	at org.jpox.AbstractPersistenceManager.deletePersistentAll(
> 	at
> 	at
> 	at
> 	at
> 	at org.jpox.state.StateManagerImpl.deletePersistent(
> 	at org.jpox.AbstractPersistenceManager.internalDeletePersistent(
> 	at org.jpox.AbstractPersistenceManager.deletePersistent(
> 	at org.codehaus.plexus.jdo.PlexusJdoUtils.removeObject(
> 	at org.apache.continuum.dao.AbstractDao.removeObject(
> 	at org.apache.continuum.dao.BuildResultDaoImpl.removeBuildResult(
> 	at org.apache.maven.continuum.DefaultContinuum.removeBuildResult(
> 	at org.apache.maven.continuum.DefaultContinuum.removeProject(
> 	at org.apache.maven.continuum.web.action.DeleteProjectAction.execute(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message