You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.IllegalStateException: sail has already been intialized
at org.openrdf.sail.helpers.SailBase.initialize(SailBase.java:141)
at org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:84)
at edu.rpi.tw.data.csv.CSV2RDFDemo.toRDF(CSV2RDFDemo.java:1707)
at edu.rpi.tw.data.csv.CSV2RDFTester.main(CSV2RDFTester.java:75)
The text was updated successfully, but these errors were encountered:
java.lang.IllegalStateException "sail has already been intialized" occurs b/c [initialize()](http://www.openrdf.org/doc/sesame2/api/org/openrdf/repository/Repository.html#initialize%28%29 is called twice but can only be called once. You're using bad identifiers "SSS/DDD/VVV" and so fall into a "report error metadata and quit" condition which had a bug b/c it called initialize%28) the second time. I've removed that second call from my original converter code.
I suggest you remove metaRepos.initialize() in your copy of the example code that I gave you.
calling demo
in demo
after break - in demo
subjectNS: DDD: http://localhost/source/SSS/dataset/DDD/version/VVV/
predicateNS: raw: http://localhost/source/SSS/dataset/DDD/vocab/raw/
objectNS: DDD_global_value: http://localhost/source/SSS/dataset/DDD/
Exception in thread "main" java.lang.IllegalStateException: sail has already been intialized
at org.openrdf.sail.helpers.SailBase.initialize(SailBase.java:141)
at org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:84)
at edu.rpi.tw.data.csv.CSV2RDFDemo.toRDF(CSV2RDFDemo.java:1707)
at edu.rpi.tw.data.csv.CSV2RDFTester.main(CSV2RDFTester.java:75)
The text was updated successfully, but these errors were encountered: