Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.11.1.1
-
None
-
None
-
Data corruption, Seen in production
Description
We are using Derby db with Apache Jackrabbit and when jackrabbit tries to update/delete nodes sometimes we get these stacktrace :
java.sql.SQLException: Unexpected no space error while attempting to update a row on page Page(5338,Container(0, 1024)). Values of internal fields at time of error are as follows: slot = 2, recordId = 6, newColumnList = {2}, nextColumn = -1, mode = 0, nextPortionHandle = null, page dump = --------------------------------------------------- page id: Page(2388,Container(0, 1024)) Overflow: false PageVersion: 106 SlotsInUse: 51 DeletedRowCount: 18 PageStatus: 1 NextId: 57 firstFreeByte: 23,795 freeSpace: 8,659 totalSpace: 32,700 spareSpace: 20% minimumRecordSize: 12 PageSize: 32,768 --------------------------------------------------- Hex dump: 00000000: 0075 0000 0001 0000 0000 0000 006a 0033 .u...........j.3 00000010: 0000 0039 0000 0000 0000 0000 0000 0000 ...9............ 00000020: 0000 0000 0013 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0506 0003 ................ ---------------------------------------------------. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:516) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyUpdate(ConnectionHelper.java:344) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:331) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:327) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:550) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper.update(ConnectionHelper.java:327) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.storeBundle(BundleDbPersistenceManager.java:950) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:799) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.storeInternal(AbstractBundlePersistenceManager.java:714) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:590) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:482) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:788) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812) [jackrabbit-core-2.6.5.jar:2.6.5] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.saveSession(JcrChangeSetExecutor.java:420) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.execute(JcrChangeSetExecutor.java:113) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.doInJcr(JcrChangeSetExecutor.java:84) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.jcr.JcrTemplate.execute(JcrTemplate.java:46) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.jcr.JcrTemplate.execute(JcrTemplate.java:26) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrRepositoryService.execute(JcrRepositoryService.java:315) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.service.deployment.RepositoryUpdateTrigger.persist(RepositoryUpdateTrigger.java:40) [server-core-DEPL-9755.jar:na] at com.xebialabs.deployit.service.deployment.RepositoryUpdateTrigger.taskStateChanged(RepositoryUpdateTrigger.java:34) [server-core-DEPL-9755.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply$mcV$sp(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at scala.util.Try$.apply(Try.scala:161) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(StateChangeEventListenerActor.scala:38) [tasker-akka-2015.2.11.jar:na] at scala.collection.immutable.Set$Set3.foreach(Set.scala:115) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1.applyOrElse(StateChangeEventListenerActor.scala:38) [tasker-akka-2015.2.11.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) [scala-library-2.10.5.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) [scala-library-2.10.5.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.apply(ReceiveWithMdc.scala:44) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.apply(ReceiveWithMdc.scala:22) [tasker-akka-2015.2.11.jar:na] at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:118) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.applyOrElse(ReceiveWithMdc.scala:22) [tasker-akka-2015.2.11.jar:na] at akka.actor.Actor$class.aroundReceive(Actor.scala:465) [akka-actor_2.10-2.3.9.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor.aroundReceive(StateChangeEventListenerActor.scala:34) [tasker-akka-2015.2.11.jar:na] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) [akka-actor_2.10-2.3.9.jar:na] at akka.actor.ActorCell.invoke(ActorCell.scala:487) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:221) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.exec(Mailbox.scala:231) [akka-actor_2.10-2.3.9.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.10.5.jar:na] Caused by: org.apache.derby.iapi.error.StandardException: Unexpected no space error while attempting to update a row on page Page(5338,Container(0, 1024)). Values of internal fields at time of error are as follows: slot = 2, recordId = 6, newColumnList = {2}, nextColumn = -1, mode = 0, nextPortionHandle = null, page dump = --------------------------------------------------- page id: Page(2388,Container(0, 1024)) Overflow: false PageVersion: 106 SlotsInUse: 51 DeletedRowCount: 18 PageStatus: 1 NextId: 57 firstFreeByte: 23,795 freeSpace: 8,659 totalSpace: 32,700 spareSpace: 20% minimumRecordSize: 12 PageSize: 32,768 --------------------------------------------------- Hex dump: 00000000: 0075 0000 0001 0000 0000 0000 006a 0033 .u...........j.3 00000010: 0000 0039 0000 0000 0000 0000 0000 0000 ...9............ 00000020: 0000 0000 0013 0000 0000 0000 0000 0000 ................ ---------------------------------------------------. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 72 common frames omitted Caused by: org.apache.derby.impl.store.raw.data.NoSpaceOnPage: nospc.U at org.apache.derby.impl.store.raw.data.StoredPage.logRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.UpdateOperation.writeOptionalDataToBuffer(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.UpdateOperation.<init>(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.LoggableActions.actionUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.StoredPage.doUpdateAtSlot(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.BasePage.updateAtSlot(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.replace(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.updateRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 65 common frames omitted 2016-07-01 13:09:34.924 [TaskSystem-akka.actor.default-dispatcher-42] {taskId=f72f660c-17c5-427b-b1cb-6d75d910eadd} ERROR o.a.j.c.p.p.BundleDbPersistenceManager - Failed to persist ChangeLog (stacktrace on DEBUG log level), blockOnConnectionLoss = false: org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle: 1893592b-607f-4ed0-9777-e897ec63736f 2016-07-01 13:09:35.049 [TaskSystem-akka.actor.default-dispatcher-42] {taskId=f72f660c-17c5-427b-b1cb-6d75d910eadd} ERROR o.a.j.c.p.p.BundleDbPersistenceManager - failed to write bundle: 1893592b-607f-4ed0-9777-e897ec63736f java.sql.SQLException: Unexpected no space error while attempting to update a row on page Page(5338,Container(0, 1024)). Values of internal fields at time of error are as follows: slot = 2, recordId = 6, newColumnList = {2}, nextColumn = -1, mode = 0, nextPortionHandle = null, page dump = --------------------------------------------------- page id: Page(2388,Container(0, 1024)) Overflow: false PageVersion: 106 SlotsInUse: 51 DeletedRowCount: 18 PageStatus: 1 NextId: 57 firstFreeByte: 23,795 freeSpace: 8,659 totalSpace: 32,700 spareSpace: 20% minimumRecordSize: 12 PageSize: 32,768 --------------------------------------------------- Hex dump: 00000000: 0075 0000 0001 0000 0000 0000 006a 0033 .u...........j.3 00000010: 0000 0039 0000 0000 0000 0000 0000 0000 ...9............ 00000020: 0000 0000 0013 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0506 0003 ................ ---------------------------------------------------. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.3.jar:1.3] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:516) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyUpdate(ConnectionHelper.java:344) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:331) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:327) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:550) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.util.db.ConnectionHelper.update(ConnectionHelper.java:327) ~[jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.storeBundle(BundleDbPersistenceManager.java:950) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:799) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.storeInternal(AbstractBundlePersistenceManager.java:714) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:590) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:482) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:788) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) [jackrabbit-core-2.6.5.jar:2.6.5] at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812) [jackrabbit-core-2.6.5.jar:2.6.5] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.saveSession(JcrChangeSetExecutor.java:420) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.execute(JcrChangeSetExecutor.java:113) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrChangeSetExecutor.doInJcr(JcrChangeSetExecutor.java:84) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.jcr.JcrTemplate.execute(JcrTemplate.java:46) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.jcr.JcrTemplate.execute(JcrTemplate.java:26) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.repository.JcrRepositoryService.execute(JcrRepositoryService.java:315) [xl-repository-jcr-2015.2.11.jar:na] at com.xebialabs.deployit.service.deployment.RepositoryUpdateTrigger.persist(RepositoryUpdateTrigger.java:40) [server-core-DEPL-9755.jar:na] at com.xebialabs.deployit.service.deployment.RepositoryUpdateTrigger.taskStateChanged(RepositoryUpdateTrigger.java:34) [server-core-DEPL-9755.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply$mcV$sp(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2$$anonfun$apply$1.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at scala.util.Try$.apply(Try.scala:161) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(StateChangeEventListenerActor.scala:40) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(StateChangeEventListenerActor.scala:38) [tasker-akka-2015.2.11.jar:na] at scala.collection.immutable.Set$Set3.foreach(Set.scala:115) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor$$anonfun$receive$1.applyOrElse(StateChangeEventListenerActor.scala:38) [tasker-akka-2015.2.11.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) [scala-library-2.10.5.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) [scala-library-2.10.5.jar:na] at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.apply(ReceiveWithMdc.scala:44) [tasker-akka-2015.2.11.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.apply(ReceiveWithMdc.scala:22) [tasker-akka-2015.2.11.jar:na] at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:118) [scala-library-2.10.5.jar:na] at com.xebialabs.deployit.engine.tasker.ReceiveWithMdc.applyOrElse(ReceiveWithMdc.scala:22) [tasker-akka-2015.2.11.jar:na] at akka.actor.Actor$class.aroundReceive(Actor.scala:465) [akka-actor_2.10-2.3.9.jar:na] at com.xebialabs.deployit.engine.tasker.StateChangeEventListenerActor.aroundReceive(StateChangeEventListenerActor.scala:34) [tasker-akka-2015.2.11.jar:na] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) [akka-actor_2.10-2.3.9.jar:na] at akka.actor.ActorCell.invoke(ActorCell.scala:487) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:221) [akka-actor_2.10-2.3.9.jar:na] at akka.dispatch.Mailbox.exec(Mailbox.scala:231) [akka-actor_2.10-2.3.9.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.10.5.jar:na] Caused by: org.apache.derby.iapi.error.StandardException: Unexpected no space error while attempting to update a row on page Page(5338,Container(0, 1024)). Values of internal fields at time of error are as follows: slot = 2, recordId = 6, newColumnList = {2}, nextColumn = -1, mode = 0, nextPortionHandle = null, page dump = --------------------------------------------------- page id: Page(2388,Container(0, 1024)) Overflow: false PageVersion: 106 SlotsInUse: 51 DeletedRowCount: 18 PageStatus: 1 NextId: 57 firstFreeByte: 23,795 freeSpace: 8,659 totalSpace: 32,700 spareSpace: 20% minimumRecordSize: 12 PageSize: 32,768 --------------------------------------------------- Hex dump: 00000000: 0075 0000 0001 0000 0000 0000 006a 0033 .u...........j.3 00000010: 0000 0039 0000 0000 0000 0000 0000 0000 ...9............ 00000020: 0000 0000 0013 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0506 0003 ................ 00000040: 0008 fe2d 5f64 c14c 420d 0008 af26 cc03 .....d.LB...ᆵ.ᅩ. ....................... at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 72 common frames omitted Caused by: org.apache.derby.impl.store.raw.data.NoSpaceOnPage: nospc.U at org.apache.derby.impl.store.raw.data.StoredPage.logRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.UpdateOperation.writeOptionalDataToBuffer(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.UpdateOperation.<init>(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.LoggableActions.actionUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.StoredPage.doUpdateAtSlot(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.raw.data.BasePage.updateAtSlot(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.replace(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.updateRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 65 common frames omitted
seems to be connected 6766
What maybe the cause of the error? Can it be that the db is corrupted?
There is no problem with the free space on disk
Attachments
Issue Links
- relates to
-
DERBY-6766 java.sql.SQLException: nospc.U Unexpected no space error while attempting to update a row on page
- Open
-
DERBY-4577 An expanding update fails with an nospc.U error.
- Closed
-
DERBY-4923 update of a long row can fail with ERROR nospc: nospc.U exception.
- Closed
-
DERBY-2286 Exception NoSpaceOnPage does not provide SQLState or exception text
- Closed
-
DERBY-5876 Overhaul table compression code
- Open