Bug #2379

RCP: 0.7.9, SchemasProgressionMacro Could not find matching constructor error

Added by Matthieu Decorde about 5 years ago. Updated over 4 years ago.

Status:New Start date:05/16/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Annotation Spent time: -
Target version:TXM Annotation URS 4.0

Description

Exécution de SchemasProgressionMacro.groovy
Error during script execution: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.txm.searchengine.cqp.corpus.FakeQueryResult(java.lang.String, java.lang.String, org.txm.searchengine.cqp.corpus.MainCorpus, org.txm.searchengine.cqp.corpus.query.Query, [I, [I, null)

Solution 1

Patch $HOME/TXM/scripts/macro/org/txm/macro/analec/SchemasProgressionMacro.groovy file :

replace line

def queryResult = new FakeQueryResult("FAKE", corpus.getName(), corpus, query, starts, ends, null)

by

def queryResult = new FakeQueryResult(corpus.getName(), corpus, query, starts, ends, null)

Solution 2

Do the same patch in the source file SchemasProgressionMacro.groovy of TXM SVN repository

History

#1 Updated by Serge Heiden about 5 years ago

  • Subject changed from RCP: 0.7.9, SchemasProgressionMacro Could not find matching constructor to RCP: 0.7.9, SchemasProgressionMacro Could not find matching constructor error

#2 Updated by Serge Heiden about 5 years ago

  • Description updated (diff)

#3 Updated by Serge Heiden about 5 years ago

  • Target version changed from TXM Annotation URS 4.0 to TXM Democrat 3.0

#4 Updated by Matthieu Decorde over 4 years ago

  • Target version changed from TXM Democrat 3.0 to TXM Annotation URS 4.0

Also available in: Atom PDF