Task #3217

Corpus, position virtual property is broken in commands

Ajouté par Matthieu Decorde il y a plus de 3 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:04/02/2022
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Commands Temps passé: -
Version cible:TXM 0.8.3

Description

From LexicalTable:

Table lexicale de la partition VOEUX/locs, propriété @position...
** null.
java.lang.NullPointerException
    at org.txm.searchengine.cqp.corpus.CQPLexicon.getLexicon(CQPLexicon.java:676)
    at org.txm.lexicaltable.core.functions.LexicalTable._computeFromPartition(LexicalTable.java:197)
    at org.txm.lexicaltable.core.functions.LexicalTable._compute(LexicalTable.java:370)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2394)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2282)
    at org.txm.rcp.editors.TXMEditor$4.run(TXMEditor.java:1002)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
TXMEditor.compute(): LexicalTableEditor: computing failed.

then the editors fails with %org.eclipse.core.runtime.AssertionFailedException: assertion failed: Column 3 has no label provider.% errors

to reproduce

From Index OR Concordance editor, select the (position) property

!ENTRY org.eclipse.ui 4 0 2022-02-04 14:33:28.114
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: org.txm.searchengine.cqp.corpus.PositionProperty cannot be cast to org.txm.searchengine.cqp.corpus.StructuralUnitProperty
    at org.txm.rcp.swt.widget.PropertiesSelector.refresh(PropertiesSelector.java:172)
    at org.txm.rcp.swt.widget.PropertiesSelector$1.widgetSelected(PropertiesSelector.java:120)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5797)

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 3 ans

  • Description mis à jour (diff)

#2 Mis à jour par Matthieu Decorde il y a plus de 3 ans

  • Description mis à jour (diff)

#3 Mis à jour par Matthieu Decorde il y a plus de 3 ans

  • % réalisé changé de 0 à 80

#4 Mis à jour par Matthieu Decorde il y a plus de 2 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.3

#5 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

#6 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

Formats disponibles : Atom PDF