Bug #1010

Updated by Matthieu Decorde over 5 years ago

The error may occur when computing a concordance, it depends on the corpus/sub-corpus used.
Complete Error message :
** Une erreur est survenue lors du chargement des lignes de la
: {0}java.lang.IllegalArgumentException: fromKey > toKey

h3. Diagnostic 1

*Diagnostic 1:*
* Can we reproduce the bug ?
* Test: call concordance with the same corpus
* Conclusion: we have reproduced the bug when computing a concordance on a sub-corpus.

h3. Solution

The bug was introduced in TXM 0.7.6, with a bad limit test in the AbstractCqiClient class. It was not checking correctly if the pivot position was greater than the last corpus position.

h3. Validation test

* create a subcorpus
* call concordance and test with a query