You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2021/11/10 09:36:00 UTC

[jira] [Comment Edited] (JENA-2199) Getting BlockException thrown by Removal listener in jena

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

Andy Seaborne edited comment on JENA-2199 at 11/10/21, 9:35 AM:
----------------------------------------------------------------

Could you put the full stack trace here please? (attach as a text file works best).
{quote}We are using 4.0 version.
{quote}
(I have restored the partial stack trace - it had lost the key piece of information - the stack trace message.)

What environment are you running in? (OS, java version, what is the file storage for the database) It looks like it might be a concurrency issue.
{quote}Its a random crash observed.
{quote}
How often odes it happen?

 


was (Author: andy.seaborne):
Could you put the full stack trace here please? (attach as a text file works best).

bq. We are using 4.0 version.

(I have restored the partial stack trace - it had lost the key piece of information - the stack trace message.

What environment are you running in? (OS, java version, what is the file storage for the database) It looks like it might be a concurrency issue.

bq. Its a random crash observed. 

How often odes it happen?

 

> Getting BlockException  thrown by Removal listener in jena
> ----------------------------------------------------------
>
>                 Key: JENA-2199
>                 URL: https://issues.apache.org/jira/browse/JENA-2199
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Mahesh Badari
>            Priority: Major
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Following is the stack trace.
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache: Exception thrown by removal listener
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache: org.apache.jena.dboe.base.block.BlockException: BlockAccessBase: Bounds exception: .../base/Data-0001/GPOS.idn: (217,217).
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.file.BlockAccessBase.check(BlockAccessBase.java:142)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.file.BlockAccessBase.check(BlockAccessBase.java:148)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.file.BlockAccessDirect.write(BlockAccessDirect.java:79)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrFileAccess.write(BlockMgrFileAccess.java:92)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrWrapper.write(BlockMgrWrapper.java:66)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrSync.write(BlockMgrSync.java:64)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrCache.access$001(BlockMgrCache.java:31)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrCache.lambda$new$0$BlockMgrCache(BlockMgrCache.java:79)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.-$$Lambda$BlockMgrCache$Dbee1XLOKReXm2ltJfUC2BJ56ME.accept(Unknown Source:6)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.atlas.lib.cache.CacheGuava.lambda$new$0$CacheGuava(CacheGuava.java:43)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.atlas.lib.cache.-$$Lambda$CacheGuava$g2zhjpv3g6a-5vCyu39OwIgtLTY.onRemoval(Unknown Source:2)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1810)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3463)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3439)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache$Segment.remove(LocalCache.java:3073)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache.remove(LocalCache.java:4236)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.ext.com.google.common.cache.LocalCache$LocalManualCache.invalidate(LocalCache.java:4876)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.atlas.lib.cache.CacheGuava.remove(CacheGuava.java:86)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.-$$Lambda$ddN84ktUJFZ9lPl9h32RwqMPbIo.accept(Unknown Source:4)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at java.util.ArrayList.forEach(ArrayList.java:1262)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.block.BlockMgrCache.resetAlloc(BlockMgrCache.java:101)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.base.page.PageBlockMgr.resetAlloc(PageBlockMgr.java:48)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.trans.bplustree.BPlusTree._abort(BPlusTree.java:558)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.trans.bplustree.BPlusTree._abort(BPlusTree.java:70)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.TransactionalComponentLifecycle.abort(TransactionalComponentLifecycle.java:126)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.SysTrans.abort(SysTrans.java:45)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.Transaction.lambda$null$14(Transaction.java:194)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.-$$Lambda$Transaction$6quMjMq06Io3xkN5Lx7MKvnP4ec.accept(Unknown Source:2)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at java.util.ArrayList.forEach(ArrayList.java:1262)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.Transaction.lambda$abort$$15$Transaction(Transaction.java:194)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.-$$Lambda$Transaction$j_vHZnWfXvACU78WSINkO6e83Jg.run(Unknown Source:2)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.TransactionCoordinator.executeAbort(TransactionCoordinator.java:852)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.Transaction.abort$(Transaction.java:194)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.Transaction.abort(Transaction.java:186)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.transaction.txn.TransactionalBase.abort(TransactionalBase.java:158)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.dboe.storage.system.DatasetGraphStorage.abort(DatasetGraphStorage.java:70)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.sparql.core.DatasetGraphWrapper.abort(DatasetGraphWrapper.java:280)
> 11-07 01:57:27.786 10114  5232  5271 W LocalCache:     at org.apache.jena.sparql.core.DatasetImpl.abort(DatasetImpl.java:150)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)