clerezza-dev mailing list archives

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

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

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

I'm occasionally getting this error on running the tests, not sure if related:
java.util.ConcurrentModificationException: Iterator: started at 99459, now 99460
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.policyError(DatasetControlMRSW.java:157)
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.access$000(DatasetControlMRSW.java:32)
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW$IteratorCheckNotConcurrent.checkCourrentModification(DatasetControlMRSW.java:110)
	at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW$IteratorCheckNotConcurrent.next(DatasetControlMRSW.java:128)
	at org.apache.jena.atlas.iterator.Iter.count(Iter.java:478)
	at com.hp.hpl.jena.tdb.store.GraphTDBBase.graphBaseSize(GraphTDBBase.java:159)
	at com.hp.hpl.jena.graph.impl.GraphBase.size(GraphBase.java:344)
	at org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor.size(JenaGraphAdaptor.java:70)
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper$2.run(PrivilegedTripleCollectionWrapper.java:66)
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper$2.run(PrivilegedTripleCollectionWrapper.java:62)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper.size(PrivilegedTripleCollectionWrapper.java:62)
	at org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.size(LockableMGraphWrapper.java:97)
	at org.apache.clerezza.rdf.jena.tdb.storage.MultiThreadedTest.perform(MultiThreadedTest.java:129)

                
> ConcurrentModicationException on TDB storage provider (SingleDataset)
> ---------------------------------------------------------------------
>
>                 Key: CLEREZZA-745
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-745
>             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] http://mail-archives.apache.org/mod_mbox/clerezza-dev/201303.mbox/%3C5140A9CD.1010208%40xup.nl%3E

--
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: http://www.atlassian.com/software/jira

Mime
View raw message