Bug #3269

CONLL-U+CSV Import fails : 'Cannot invoke method canExecute() on null object' error

Added by Alexey Lavrentev 2 months ago. Updated 19 days ago.

Status:New Start date:07/29/2022
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Import Spent time: -
Target version:TXM 0.8.2

Description

TXM 0.8.2 0.8.2.202206201458
Syntatic Annotation 1.0.0.202206290953

Tested on PROFITEROLE-GOLD-V1-0 conll annotations (Sharedocs Cactus/Projets/Profiterole/corpus/PROFITEROLE-GOLD-V1-0_conllu.zip)
And on Polish PUD conllu file https://github.com/UniversalDependencies/UD_Polish-PUD/blob/master/pl_pud-ud-test.conllu

Console:

Le corpus PROFITEROLE-GOLD-CONLLU sera créé à partir du dossier /home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu.
Le paramètre d''importation ''annotate'' est activé par défaut car l’’extensionTreeTagger est installée.
Sauvegarde des paramètres d'importation…
Compiling conllu import module...
Démarrage du module d'import "conllu"...
Import du corpus...
-- IMPORTER - Reading source files
Convert CoNLL-U to XML-TEI...
Parsing CoNLL-U files...
 14 .........1....
Writing XML files...
 22 .........1.........2..
-- Checking XML-TEI files for well-formedness.
 22 .........1.........2..
-- Tokenizing 22 files
 22 .........1.........2..
-- Building (22 XML-TXM files)
 22 .........1.........2..
-- COMPILING - Building Search Engine indexes
-- Scanning structures&properties to create for 22 texts...
 22 .........1.........2..
-- Building CQP files 22/22...
 22 .........1.........2..
-- Running cwb-encode...
 Word properties: id, ud-misc, ud-dep-upos, ud-deps, ud-form, ud-id, ud-dep-deprel, ud-xpos, ud-head-upos, ud-feats, n, ud-lemma, ud-upos, ud-deprel, ud-head-deprel, ud-head
 Structures: p:0+id+n, s:0+id+n, text:0+id+base+project+filename, txmcorpus:0+lang
 22 .........1.........2..
-- Running cwb-makeall...
-- EDITION - Building editions
-- Building 'default' edition of 22/22 texts...
 22 .........1.........2..
--- Copying subdirectories [xsl, css, dtd, doc]

/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/strasbBfm.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/strasbBfm.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/YvainKu.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/YvainKu.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/commyn1_gold.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/commyn1_gold.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/slethgier.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/slethgier.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/aucassin.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/aucassin.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/jehpar_gold.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/jehpar_gold.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/roland.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/roland.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/beroul.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/beroul.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/qgraal_cm.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/qgraal_cm.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/grchron_j2c5_gold.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/grchron_j2c5_gold.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/AlexisProlRaM.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/AlexisProlRaM.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/Lapidfp.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/Lapidfp.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/qlr.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/qlr.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/AlexisRaM.conllu... perl '/usr/lib/TXM-0.8.2/../../../home/alavrent/.TXM-0.8.2/plugins/org.txm.conllu.core_1.0.0.202206290953/groovy/org/txm/scripts/importer/conllu/conll2tiger-ud.pl' -s 10000 -o '/home/alavrent/TXM-0.8.2/corpora/PROFITEROLE-GOLD-CONLLU/tiger-xml' '/home/alavrent/xml/PROFITEROLE-GOLD-V1-0/conllu/AlexisRaM.conllu'
Error: java.lang.NullPointerException: Cannot invoke method canExecute() on null object
Import failed.
Corpus "PROFITEROLE-GOLD-CONLLU" supprimé(e).

History

#1 Updated by Matthieu Decorde 19 days ago

  • % Done changed from 0 to 80

Also available in: Atom PDF