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

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

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.