clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <>
Subject [jira] [Commented] (CLEREZZA-745) ConcurrentModicationException on TDB storage provider (SingleDataset)
Date Wed, 10 Jul 2013 15:57:52 GMT


Reto Bachmann-Gmür commented on CLEREZZA-745:

another variant:
java.util.ConcurrentModificationException: Reader = 1, Writer = 1
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.policyError(
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.policyError(
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.checkConcurrency(
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.startRead(
	at com.hp.hpl.jena.tdb.nodetable.NodeTupleTableConcrete.startRead(
	at com.hp.hpl.jena.tdb.nodetable.NodeTupleTableConcrete.findAsNodeIds(
	at com.hp.hpl.jena.sparql.core.DatasetGraphBaseFind.find(
	at com.hp.hpl.jena.graph.impl.GraphBase.find(
	at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(
	at com.hp.hpl.jena.graph.impl.GraphBase.find(
	at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.filter(
	at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.contains(
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper$
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper$
	at Method)
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper.contains(
	at org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.contains(

> ConcurrentModicationException on TDB storage provider (SingleDataset)
> ---------------------------------------------------------------------
>                 Key: CLEREZZA-745
>                 URL:
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Rupert Westenthaler
> As reported by Minto van der Sluis in [1] the SingleDataset Jena TDB TcProvider can throw
.ConcurrentModificationException when iterating over a read protected MGraph and a modification
is done to an other graph managed in the same Jena TDB Dataset. This includes creating a new
graph in the dataset.
> Based on a first analysis this is caused by the Single Dataset Jena TDB TcProvider using
per TripleCollections ReadWrite Locks instead of a single ReadWrite Lock for all graphs managed
by the same Jena TDB Dataset.
> [1]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message