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

Oliver Strässer commented on CLEREZZA-197:
------------------------------------------

ConcurrentModificationException - in executeSparqlQuery()

java.util.ConcurrentModificationException
        at 
com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.checkCourrentModification(GraphTDBBase.java:209)
        at 
com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.hasNext(GraphTDBBase.java:217)
        at 
org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.hasNext(JenaGraphAdaptor.java:80)
        at 
org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.hasNext(AbstractTripleCollection.java:77)
        at 
org.apache.clerezza.rdf.core.access.LockingIterator.hasNext(LockingIterator.java:47)
        at 
org.apache.clerezza.rdf.utils.UnionMGraph$1.hasNext(UnionMGraph.java:69)
        at 
org.apache.clerezza.rdf.utils.UnionMGraph$1.hasNext(UnionMGraph.java:78)
        at 
org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.hasNext(AbstractTripleCollection.java:77)
        at 
org.apache.clerezza.rdf.jena.facade.JenaGraph$1.hasNext(JenaGraph.java:91)
        at 
com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterTriplePattern$TripleMapper.hasNextBinding(QueryIterTriplePattern.java:181)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:60)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:87)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:55)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriples.hasNextBinding(QueryIterBlockTriples.java:52)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.java:50)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
        at 
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
        at 
com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
        at 
org.apache.clerezza.rdf.jena.sparql.ResultSetWrapper.<init>(ResultSetWrapper.java:39)
        at 
org.apache.clerezza.rdf.jena.sparql.JenaSparqlEngine.execute(JenaSparqlEngine.java:68)
        at 
org.apache.clerezza.rdf.core.access.TcManager.executeSparqlQuery(TcManager.java:656)
        at 
net.getunik.clerezza.app.clips.core.ClipsProvider.refreshCLIPItems(ClipsProvider.java:513)
        at 
net.getunik.clerezza.app.clips.core.ClipsProvider$1$1.run(ClipsProvider.java:209)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
net.getunik.clerezza.app.clips.core.ClipsProvider$1.run(ClipsProvider.java:201)
        at java.util.TimerThread.mainLoop(Timer.java:512)


> TDB + ConcurrentModificationException
> -------------------------------------
>
>                 Key: CLEREZZA-197
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-197
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Priority: Blocker
>
> After I changed the Actioncenter from sesame to tdb, i got the following 
> Error:
> java.util.ConcurrentModificationException
>         at 
> com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.checkCourrentModification(GraphTDBBase.java:209)
>         at 
> com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.hasNext(GraphTDBBase.java:217)
>         at 
> org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.hasNext(JenaGraphAdaptor.java:80)
>         at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.hasNext(AbstractTripleCollection.java:77)
>         at 
> org.apache.clerezza.rdf.core.access.LockingIterator.hasNext(LockingIterator.java:47)
>         at 
> This problem occurs many times on different places and variations. 
> An error in the same category (i can't reproduce the situation) - occurs 
> while reading the graph an iterating through the graph - with hasnext / next
> the exceptions was something like "elemntmnotfound" at the next(method).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to