Bug #1010
Mis à jour par Matthieu Decorde il y a plus de 10 ans
The error may occur when computing a concordance, it depends on the corpus/sub-corpus used.
Complete Error message :
<pre>
** Une erreur est survenue lors du chargement des lignes de la
concordance
: {0}java.lang.IllegalArgumentException: fromKey > toKey
</pre>
h3. 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
MD : **OK** Windows 8 : DG7 subcorpus of Discours and Query []
Complete Error message :
<pre>
** Une erreur est survenue lors du chargement des lignes de la
concordance
: {0}java.lang.IllegalArgumentException: fromKey > toKey
</pre>
h3. 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
MD : **OK** Windows 8 : DG7 subcorpus of Discours and Query []