Bug #3031
macro Excel2XML broken
Status: | New | Start date: | 03/03/2021 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Macros | Spent time: | - | ||
Target version: | TXM 0.8.2 |
Description
Calling the macro produces the following stacktrace:
** Excel2XML: unable to read input file. Aborting. No such property: WorkbookFactory for class: org.txm.macro.text.Excel2XMLMacro groovy.lang.MissingPropertyException: No such property: WorkbookFactory for class: org.txm.macro.text.Excel2XMLMacro at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:67) at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:51) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:310) at org.txm.macro.text.Excel2XMLMacro.run(Excel2XMLMacro.groovy:90) at org.txm.rcp.handlers.scripts.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:268) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) null
Solution¶
The classloader did not found the poi libs even if they were supposed to be. The solution is to add the org.txm.libs.* plugins to the Groovy classloader
History
#1 Updated by Matthieu Decorde about 2 years ago
- Description updated (diff)
- % Done changed from 0 to 70
#2 Updated by Matthieu Decorde about 2 years ago
- % Done changed from 70 to 80