incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Strässer <oliver.straes...@getunik.com>
Subject TDB ConcurrentModificationException
Date Wed, 28 Apr 2010 07:19:08 GMT
Hi @ all

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 net.getunik.clerezza.core.doubleoptin.DoubleOptInProvider.removeTokensForDoubleOptInTriple(DoubleOptInProvider.java:153)


The source on this place (on my side):

      Iterator<Triple> triples = contentGraph.filter(triple1.getSubject(), null, null);
                        while (triples.hasNext()) {
                            contentGraph.remove(triples.next());
}


What is wrong there, with sesame was no problem?

can you help me?

--getunik ag-------------------------------------------
  oliver straesser              oliver.straesser@getunik.com<mailto:oliver.straesser@getunik.com>
  hardturmstrasse 101    fon: +41 (0)44 388 55 88
  ch-8005 zuerich              fax: +41 (0)44 388 55 89

   --aktuelles getunik projekt-------------------------
   Agieren Sie lokal! Geo Marketing für Ihre E-Mail Kampagne: www.geomarketing.com<http://www.geomarketing.com/>

 --best of swiss web awards 2009------------------
   Gold & Silber für Connect2Earth / Bronze für WWF UK

we make the web a better place - www.getunik.com<http://www.getunik.com/>




*****************************************************************
P Bitte drucken Sie dieses E-Mail nur bei Bedarf aus. Die Umwelt dankt es Ihnen.
*****************************************************************


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message