On 23/08/11 12:22, Ian Dickinson wrote:
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.

Closing this thread after some off-list dialogue, this is a bug that is fixed in the latest version of TDB (0.8.11-SNAPSHOT from the repo-dev maven repository on openjena.org)

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