Bug #3258

Setup, Cannot run TXM on Mac OS X 10.15.07 & 12.2.1

Added by Matthieu Decorde about 1 month ago. Updated 22 days ago.

Status:New Start date:07/04/2022
Priority:Urgent Due date:
Assignee:- % Done:

80%

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

Description

TXM doesn't not start or fails during startup

Démarrage de TXM 0.8.2 (2022-06-10 16h49)…
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
    at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:39)
    at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
    at org.codehaus.groovy.ast.ClassHelper.<clinit>(ClassHelper.java:77)
    at org.codehaus.groovy.control.customizers.ImportCustomizer.addImport(ImportCustomizer.java:113)
    at org.codehaus.groovy.control.customizers.ImportCustomizer.addImports(ImportCustomizer.java:100)
    at org.txm.groovy.core.GSERunner.buildDefaultGSE(GSERunner.java:92)
    at org.txm.groovy.core.TXMGroovyScriptEngine.initialize(TXMGroovyScriptEngine.java:24)
    at org.txm.core.engines.EnginesManager.fetchEngines(EnginesManager.java:64)
    at org.txm.core.engines.ScriptEnginesManager.fetchEngines(ScriptEnginesManager.java:13)
    at org.txm.Toolbox.fetchEnginesManagers(Toolbox.java:138)
    at org.txm.Toolbox.startEnginesManagers(Toolbox.java:574)
    at org.txm.Toolbox.initialize(Toolbox.java:292)
    at org.txm.rcp.ApplicationWorkbenchAdvisor$10$2.run(ApplicationWorkbenchAdvisor.java:1182)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "ModalContext"]
    at org.codehaus.groovy.vmplugin.v7.Java7.<clinit>(Java7.java:45)
    at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
    at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160)
    at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
    at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103)
    at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:236)
    at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:546)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
    at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
    at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:341)
    at java.base/java.lang.Class.newInstance(Class.java:677)
    at org.codehaus.groovy.vmplugin.VMPluginFactory.createPlugin(VMPluginFactory.java:52)
    at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:37)
    ... 13 more
Error: failed to start engine CQP.
Stacktrace:
[1]           org.txm.core.engines.EnginesManager.        startEngines  EnginesManager.java, 100
[2]                               org.txm.Toolbox.startEnginesManagers  Toolbox.java, 583
[3]                               org.txm.Toolbox.          initialize  Toolbox.java, 292
[4]  org.txm.rcp.ApplicationWorkbenchAdvisor$10$2.                 run  ApplicationWorkbenchAdvisor.java, 1182
java.lang.NoSuchFieldException: loadedLibraryNames
    at java.base/java.lang.Class.getDeclaredField(Class.java:2642)
    at org.txm.searchengine.cqp.MemCqiServer.start(MemCqiServer.java:166)
    at org.txm.searchengine.cqp.CQPSearchEngine.start(CQPSearchEngine.java:114)
    at org.txm.core.engines.EnginesManager.startEngines(EnginesManager.java:97)
    at org.txm.Toolbox.startEnginesManagers(Toolbox.java:583)

History

#1 Updated by Serge Heiden about 1 month ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde 22 days ago

  • % Done changed from 0 to 80

OK on Mac OS X 10.12
SHOULD BE OK on Mac OS X 12.05 with an Intel processor
KO on Mac OS X 12.05 with a M1 processor

#3 Updated by Serge Heiden 22 days ago

Mac OS x Mac Processor compatibility matrix

Date 10/2019 11/2020 06/2021
System Mac OS 10.15 (Catalina) 11.6 (Big Sur) 12.04 (Monterey)
Machine Processor Intel Intel Intel
M1 M1

Also available in: Atom PDF