qcri-social / AIDR

Artificial Intelligence for Digital Response
http://aidr.qcri.org/
GNU Affero General Public License v3.0
98 stars 37 forks source link

No value set in aidr-tagger config.txt for sampleCountThreshold #3

Closed ajgbangug closed 10 years ago

ajgbangug commented 10 years ago

I was trying to run the jar that is produced by building aidr-tagger but I was encountering exceptions at runtime. aidr-tagger/src/main/java/qa/qcri/aidr/predict/common/Config.java is the one trying to initialize the variable.

This is the exception that I'm encountering:

Exception in thread "main" java.lang.ExceptionInInitializerError
    at qa.qcri.aidr.predict.DataStore.getJedisConnection(DataStore.java:82)
    at qa.qcri.aidr.predict.DataStore.clearRedisPipeline(DataStore.java:98)
    at qa.qcri.aidr.predict.Controller.main(Controller.java:39)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:454)
    at java.lang.Integer.parseInt(Integer.java:527)
    at qa.qcri.aidr.predict.common.Config.<clinit>(Config.java:95)
    ... 3 more
chatox commented 10 years ago

Hi @jikimlucas if you have some info on this please pass to Koushik. Otherwise @koushiksinha please fix. Thank you!

koushiksinha commented 10 years ago

I think this is coming from the previous issue reported about missing config.txt. On 9 Jun 2014 09:59, "Carlos Castillo" notifications@github.com wrote:

Hi @jikimlucas https://github.com/jikimlucas if you have some info on this please pass to Koushik. Otherwise @koushiksinha https://github.com/koushiksinha please fix. Thank you!

— Reply to this email directly or view it on GitHub https://github.com/qcri-social/AIDR/issues/3#issuecomment-45466074.

jikimlucas commented 10 years ago

@koushiksinha I see that sampleCountThreshold was dropped when you increased task_buffer size on March 6. I will merge it.

koushiksinha commented 10 years ago

I have pushed the updated config.txt to git. Please check.

Regards, Koushik

On Mon, Jun 9, 2014 at 10:24 AM, jikimlucas notifications@github.com wrote:

@koushiksinha https://github.com/koushiksinha I see that sampleCountThreshold was dropped when you increased task_buffer size on March 6. I will merge it.

— Reply to this email directly or view it on GitHub https://github.com/qcri-social/AIDR/issues/3#issuecomment-45467294.

ajgbangug commented 10 years ago

Thanks again @koushiksinha! closing this also