Bug #2379

RCP: 0.7.9, SchemasProgressionMacro Could not find matching constructor error

Added by Matthieu Decorde over 1 year ago. Updated 9 months ago.

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

0%

Category:Annotation Spent time: -
Target version:TXM Democrat 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 over 1 year 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 over 1 year ago

  • Description updated (diff)

#3 Updated by Serge Heiden over 1 year ago

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

#4 Updated by Matthieu Decorde 9 months ago

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

Also available in: Atom PDF