db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6897) org.apache.derby.impl.store.raw.data.NoSpaceOnPage: nospc.U
Date Mon, 04 Jul 2016 16:56:11 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361596#comment-15361596
] 

Rick Hillegas commented on DERBY-6897:
--------------------------------------

Thanks for logging this bug, Elton. I have linked this issue to a number of other issues which
mention the NoSpaceOnPage exception. This is my understanding from reading those other issues:

1) The error is an internal error which is never supposed to leak out to the user. It is raised
in order to signal that an overflow row will not fit on the page assigned to it.

2) The error is supposed to be caught by code further up the stack. That code is supposed
to find an alternative location for the row where it will fit.

3) Whatever you are doing at the time that this error occurs is probably not the root cause
of the problem. By the time that you get into this situation, some page has already been corrupted.
The engine is simply stumbling over a page layout which the engine can't figure out how to
fix.

4) This error has been linked to a cluster of problems in the brittle page compression logic.
It has been suggested that the page compression logic needs to be re-written in order to fix
this cluster of bugs.

You may want to check for other corruptions of this database. Please see the advice here:
https://wiki.apache.org/db-derby/DatabaseCorruption

Your best workaround may be to re-create the corrupted table:

1) Create a replacement table with the same shape as the corrupt table.

2) Pump the old data into the new table like this:

  insert into replacementTable select * from corruptTable

3) Drop the corrupt table

4) Rename the replacementTable to have the name of the original table.

Hope this helps,
-Rick


> org.apache.derby.impl.store.raw.data.NoSpaceOnPage: nospc.U
> -----------------------------------------------------------
>
>                 Key: DERBY-6897
>                 URL: https://issues.apache.org/jira/browse/DERBY-6897
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.11.1.1
>            Reporter: Elton Qevani
>
> We are using Derby db with Apache Jackrabbit and when jackrabbit tries to update/delete
nodes sometimes we get these stacktrace :
> {code}
> 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
> {code}
> seems to be connected [6766|https://issues.apache.org/jira/browse/DERBY-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 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message