Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-617

javax.jdo.JDODataStoreException: Insert request failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0.2
    • 1.1-beta-2
    • Core system, Database
    • None

    Description

      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)

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            brianf Brian E Fox
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: