continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-617) javax.jdo.JDODataStoreException: Insert request failed
Date Wed, 01 Mar 2006 20:03:06 GMT
javax.jdo.JDODataStoreException: Insert request failed
------------------------------------------------------

         Key: CONTINUUM-617
         URL: http://jira.codehaus.org/browse/CONTINUUM-617
     Project: Continuum
        Type: Bug

  Components: Core system  
    Versions: 1.0.2    
    Reporter: Brian Fox


This happened apparently randomly during a scheduled build. On the next scheduled build, it
was successfull.

****************************************************************************
Build Error:
****************************************************************************
javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO PROJECTDEPENDENCY (PROJECTDEPENDENCY_ID,ARTIFACT_ID,VERSION,GROUP_ID)
VALUES (?,?,?,?)
		 at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:329)
		 at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1774)
		 at org.jpox.store.StoreManager.insert(StoreManager.java:721)
		 at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3066)
		 at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3039)
		 at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:3452)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1644)
		 at org.jpox.sco.List.attachCopy(List.java:326)
		 at org.jpox.state.AttachFieldManager.storeObjectField(AttachFieldManager.java:107)
		 at org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2394)
		 at org.apache.maven.continuum.model.project.Project.jdoProvideField(Project.java)
		 at org.apache.maven.continuum.model.project.Project.jdoProvideFields(Project.java)
		 at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:2732)
		 at org.jpox.state.StateManagerImpl.internalAttachCopy(StateManagerImpl.java:3518)
		 at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:3446)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1644)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1660)
		 at org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoContinuumStore.java:679)
		 at org.apache.maven.continuum.store.JdoContinuumStore.updateProject(JdoContinuumStore.java:841)
		 at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:94)
		 at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:171)
		 at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
		 at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
		 at java.lang.Thread.run(Thread.java:534)
NestedThrowablesStackTrace:
ERROR 40001: A lock could not be obtained due to a deadlock, cycle of locks and waiters is:
Lock : ROW, PROJECTDEPENDENCY, (1614,14)
  Waiting XID : {31204919, X} , SA, INSERT INTO PROJECTDEPENDENCY (PROJECTDEPENDENCY_ID,ARTIFACT_ID,VERSION,GROUP_ID)
VALUES (?,?,?,?)
  Granted XID : {31204120, X} 
Lock : ROW, PROJECT, (1,34)
  Waiting XID : {31204120, S} , SA, UPDATE PROJECTDEPENDENCY SET DEPENDENCIES_ID_OWN = ?,DEPENDENCIESINTEGER_IDX
= ? WHERE PROJECTDEPENDENCY_ID = ?
  Granted XID : {31204919, X} 
. The selected victim is XID : 31204919.
		 at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
		 at org.apache.derby.impl.services.locks.Deadlock.buildException(Unknown Source)
		 at org.apache.derby.impl.services.locks.LockSet.lockObject(Unknown Source)
		 at org.apache.derby.impl.services.locks.SinglePool.lockAnObject(Unknown Source)
		 at org.apache.derby.impl.services.locks.SinglePool.lockObject(Unknown Source)
		 at org.apache.derby.impl.store.raw.xact.RowLocking3.lockRecordForWrite(Unknown Source)
		 at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown Source)
		 at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown Source)
		 at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockRowOnPage(Unknown
Source)
		 at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockNonScanRowOnPage(Unknown
Source)
		 at org.apache.derby.impl.store.access.btree.BTreeController.doIns(Unknown Source)
		 at org.apache.derby.impl.store.access.btree.BTreeController.insert(Unknown Source)
		 at org.apache.derby.impl.store.access.btree.index.B2IController.insert(Unknown Source)
		 at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source)
		 at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source)
		 at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source)
		 at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source)
		 at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source)
		 at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source)
		 at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
		 at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
		 at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
		 at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
		 at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
		 at org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:69)
		 at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:268)
		 at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1774)
		 at org.jpox.store.StoreManager.insert(StoreManager.java:721)
		 at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3066)
		 at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3039)
		 at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:3452)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1644)
		 at org.jpox.sco.List.attachCopy(List.java:326)
		 at org.jpox.state.AttachFieldManager.storeObjectField(AttachFieldManager.java:107)
		 at org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2394)
		 at org.apache.maven.continuum.model.project.Project.jdoProvideField(Project.java)
		 at org.apache.maven.continuum.model.project.Project.jdoProvideFields(Project.java)
		 at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:2732)
		 at org.jpox.state.StateManagerImpl.internalAttachCopy(StateManagerImpl.java:3518)
		 at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:3446)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1644)
		 at org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManager.java:1660)
		 at org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoContinuumStore.java:679)
		 at org.apache.maven.continuum.store.JdoContinuumStore.updateProject(JdoContinuumStore.java:841)
		 at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:94)
		 at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:171)
		 at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
		 at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
		 at java.lang.Thread.run(Thread.java:534)




-- 
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