matthieuvernier / ttc-project

Automatically exported from code.google.com/p/ttc-project
0 stars 0 forks source link

Indexer crashes first time #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. remove `.term-suite` in the home directory
2. run indexer

What is the expected output? What do you see instead?

Program exits with some errors (please see the attached file.)

What version of the product are you using? On what operating system?

* Term Suite 1.4
* Mac OSX 10.9
* Java 1.6.0_65

Please provide any additional information below.

* The reason is that, at l.51 in IndexerEngine, we try to set `0.0` to float 
expected cofiguration parameter `FilterRuleThreshold` in TermBaseXchanger, 
which causes type mismatch.
* Perhaps the most naive resolution is to use `0.0f` to explicitly assign it as 
a float value.
* Once the directory `.term-suite` is created, this error disappears because 
the saved values are reused afterwards.

Original issue reported on code.google.com by utatanen...@gmail.com on 14 Nov 2013 at 10:19

Attachments: