Dear sirs,
I want to import multiple files in to the TDB, therefore I created this
code:
Model model =
TDBFactory.createModel("/home/futuros/tdb-root/sestate-0.5.3/");
InputStream in = FileManager.get().open("myowlfile1.owl");
model.read(in,"");
InputStream in = FileManager.get().open("myowlfile2.owl");
model.read(in,"");
model.close();
The code works only when I import only one file. In other case, the
system returns:
Exception in thread "main" java.util.ConcurrentModificationException:
Iterator: started at 76, now 77.
Could you please help me? I apologize if this was already discussed.
regards
Miroslav Liska