Bug #264

RCP: 0.7.8, Concordances, right context sorting raises exception

Added by Sebastien Jacquot about 6 years ago. Updated 3 months ago.

Status:New Start date:07/12/2013
Priority:High Due date:
Assignee:- % Done:

80%

Category:UI / Interaction Spent time: -
Target version:TXM X.X

Description

Reproduction steps :
- compute concordances on VOEUX corpus with '.*' CQL query
- click on right context header

Log :

** Une erreur est survenue lors du chargement des lignes de la concordance : java.lang.NullPointerException
java.lang.NullPointerException
    at java.text.RuleBasedCollator.compare(RuleBasedCollator.java:351)
    at org.txm.functions.concordances.comparators.LexicographicRightContextComparator.compare(LexicographicRightContextComparator.java:80)
    at org.txm.functions.concordances.comparators.LexicographicRightContextComparator.compare(LexicographicRightContextComparator.java:1)
    at java.util.TimSort.binarySort(TimSort.java:265)
    at java.util.TimSort.sort(TimSort.java:208)
    at java.util.TimSort.sort(TimSort.java:173)
    at java.util.Arrays.sort(Arrays.java:659)
    at java.util.Collections.sort(Collections.java:217)
    at org.txm.functions.concordances.Concordance.sort(Concordance.java:633)
    at org.txm.rcpapplication.editors.concordances.ConcordancesEditor$9.run(ConcordancesEditor.java:786)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

It appears that vals1 can be null line 79 of org.txm.functions.concordances.comparators.LexicographicRightContextComparator.compare() :

rez = collator.compare(vals1.get(j), vals2.get(j));

History

#1 Updated by Matthieu Decorde over 1 year ago

  • Subject changed from RCP: 0.7.2, Concordances, right context sorting raises exception to RCP: 0.7.8, Concordances, right context sorting raises exception
  • Target version changed from TXM X.X to TXM 0.8.0a (split/restructuration)

#2 Updated by Matthieu Decorde over 1 year ago

  • Priority changed from Normal to High

#3 Updated by Sebastien Jacquot about 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#4 Updated by Matthieu Decorde 6 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

#5 Updated by Matthieu Decorde 3 months ago

  • % Done changed from 0 to 80

MD not reproduced in TXM 0.8.0

Also available in: Atom PDF