PiRSquared17 / jwpl

Automatically exported from code.google.com/p/jwpl
0 stars 1 forks source link

getArticles() throws an TrainsactionException on Iterator.hasNext() #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
final DatabaseConfiguration dbConfig = new DatabaseConfiguration();
dbConfig.setHost("localhost");
dbConfig.setDatabase("enwiki");
dbConfig.setLanguage(Language.english);

wikipedia = new Wikipedia(dbConfig);

final Iterator<Page> it = wikipedia.getArticles().iterator();
while (it.hasNext()) { // throws TransactionException (nested transaction 
error) here
    // more code
}

What version of the product are you using? On what operating system?
I'm using de.tudarmstadt.ukp.wikipedia.api-0.9.2.jar on Windows 7 Pro, 64-bit.

Please provide any additional information below.
I've successfully followed the instructions on your wiki page: 
https://code.google.com/p/jwpl/wiki/DataMachine. 
I've used the enwiki-20130403 dump.

Original issue reported on code.google.com by jan.bez...@gmail.com on 17 May 2013 at 4:58

GoogleCodeExporter commented 9 years ago
Could you please post the full stack trace of the exception.

Original comment by torsten....@gmail.com on 17 May 2013 at 7:21