brmson / yodaqa

A Question Answering system built on top of the Apache UIMA framework.
http://ailao.eu/yodaqa
Other
619 stars 205 forks source link

Exception in thread "main" java.lang.ExceptionInInitializerError #9

Closed qweqwe123 closed 9 years ago

qweqwe123 commented 9 years ago

Hi I download yodaqa for a month ago and there all work nice but today I download the new one from you and I got this error if I run echo | ./gradlew run or ./gradlew run -q

But if I run your old version it works

error

I hope you can help me

pasky commented 9 years ago

Thanks for the report. My first idea: Could it be that you are running this in a single-CPU virtual machine? YodaQA now attempts to use multiple threads but if you have only 1 core available, that might confuse it...

pasky commented 9 years ago

Can you check with the latest master? I tried to push a fix for the above.

qweqwe123 commented 9 years ago

Hi you are right I run a single-cpu virtual machine I try it now with more core´s. I will write about my test later

qweqwe123 commented 9 years ago

Hi now it stuck at 80 % Building if I run echo | ./gradlew run or

but if I try ./gradlew run -q it works

thank you

pasky commented 9 years ago

Hi! Are you sure it is stuck? Perhaps it's just waiting for input. Can you show the last few lines before that?

qweqwe123 commented 9 years ago

Okay here are the picture error

pasky commented 9 years ago

Intriguing! I can't reproduce that here.

If you run top in a different terminal, does that show YodaQA using the CPU?

What if you append -Dorg.slf4j.simpleLogger.log.cz.brmlab.yodaqa=debug to the gradle command line? Which lines do you see last?