Hello Miroslav,

On 23/08/11 11:45, semantickyweb wrote:
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.
I'm afraid there's not enough information there to give any useful advice. Can you please either post a complete minimal example of the not-working code (something that we can run to see what's going on) or at the very least please post the full details of the stacktrace from the ConcurrentModificationException

Ian

--
____________________________________________________________
Ian Dickinson                   Epimorphics Ltd, Bristol, UK
mailto:[email protected]        http://www.epimorphics.com
cell: +44-7786-850536              landline: +44-1275-399069
------------------------------------------------------------
Epimorphics Ltd.  is a limited company registered in England
(no. 7016688). Registered address: Court Lodge, 105 High St,
              Portishead, Bristol BS20 6PT, UK

Reply via email to