Bug #1572

TBX: 0.7.7, broken scripts ConcordancesExport.groovy and MultipleConcordances.groovy

Added by Serge Heiden almost 4 years ago. Updated 5 months ago.

Status:New Start date:10/21/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Macros Spent time: -
Target version:TXM X.X

Description

ConcordancesExport.groovy and MultipleConcordances.groovy scripts are broken:

ConcordancesExport.groovy

Execution stacktrace:

Error during script execution: java.lang.NullPointerException
java.lang.NullPointerException
    at org.txm.searchengine.cqp.AbstractCqiClient.getData(AbstractCqiClient.java:154)
    at org.txm.functions.concordances.Concordance.getLines(Concordance.java:531)
    at org.txm.functions.concordances.Concordance$getLines$1.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at org.txm.export.ConcordancesExport.run(ConcordancesExport.groovy:117)
    at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:577)
    at org.txm.rcpapplication.commands.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:225)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

MultipleConcordances.groovy

Execution stacktrace:

Error during script execution: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.txm.functions.concordances.Concordance(org.txm.searchengine.cqp.corpus.MainCorpus, org.txm.searchengine.cqp.corpus.query.Query, org.txm.searchengine.cqp.corpus.Property, java.util.ArrayList, org.txm.functions.ReferencePattern, java.lang.Integer, java.lang.Integer)
groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.txm.functions.concordances.Concordance(org.txm.searchengine.cqp.corpus.MainCorpus, org.txm.searchengine.cqp.corpus.query.Query, org.txm.searchengine.cqp.corpus.Property, java.util.ArrayList, org.txm.functions.ReferencePattern, java.lang.Integer, java.lang.Integer)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1601)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1404)
    at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    at org.txm.export.MultipleConcordances.run(MultipleConcordances.groovy:93)
    at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:577)
    at org.txm.rcpapplication.commands.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:225)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

History

#1 Updated by Sebastien Jacquot about 1 year ago

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

#2 Updated by Matthieu Decorde 5 months ago

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

Also available in: Atom PDF