continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] (CONTINUUM-2552) JDOException when deleting a project
Date Fri, 04 Jan 2013 07:03:13 GMT


Brett Porter updated CONTINUUM-2552:

    Fix Version/s:     (was: 1.4.1)
> 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
> 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