On 13/08/14 18:21, Devlin Junker wrote:
Hi,

Found that the problem was due to to trying to add a submodel and
OWL:imports statement during the same transaction. I had to finish and
commit the transaction where I add the submodel first, then start another
transaction that would read the Class Restrictions.

Sometimes I just need to explain the problem in order to better solve it,
sorry about that. :x

Devlin

:-)

Java's ConcurrentModificationException is a bit misnamed. It's not threading concurrency, it's change operations while some iterator is still being iterated over.

Some update to the underlying data happened between the iterator being created and iteration that went CME. TDB happens to have explicit checking but it can happen anywhere.

I'm not clear if this is general bug in Jena. I didn't manage to rebuild your code fragment but just looking at it I don't see any suspicious iterator usage.

        Andy

Reply via email to