continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Johns (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1630) Error attempting to delete project group
Date Thu, 15 May 2008 16:47:27 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134967#action_134967
] 

Michael Johns commented on CONTINUUM-1630:
------------------------------------------

Emmanuel, is there any known workaround for this with a 1.1 installation, or am I stuck waiting
on 1.2?  I've tried deleting things (project, build definitions, builds) in every order I
can think of, but I can't get anything to delete cleanly.  I can always crack open the database,
but I'd prefer not to.

> Error attempting to delete project group
> ----------------------------------------
>
>                 Key: CONTINUUM-1630
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1630
>             Project: Continuum
>          Issue Type: Bug
>          Components: Database
>    Affects Versions: 1.1
>            Reporter: Michael Johns
>            Assignee: Emmanuel Venisse
>             Fix For: 1.2
>
>
> 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)
> 	[...]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message