[Solved]
Hello,
When launching Spine, I get an error :
Spine Launcher 3.7.30
Esoteric Software LLC (C) 2013-2018
Linux amd64 4.17.14-arch1-1-ARCH
Up to date: Spine 3.6.53
Spine 3.6.53 Essential
Licensed to: *****, *****
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.esotericsoftware.spine.editor.Editor.a(SourceFile:1481)
at com.esotericsoftware.spine.editor.Editor.main(SourceFile:1440)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at tzax.C.run(SourceFile:1956)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error initializing the OpenGL display. Please note libxrandr is required, eg:
sudo apt-get install x11-xserver-utils
at mT.run(SourceFile:109)
... 25 more
Caused by: java.lang.ExceptionInInitializerError
at mT.run(SourceFile:106)
... 25 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(SourceFile:954)
at org.lwjgl.opengl.LinuxDisplay.init(SourceFile:738)
at org.lwjgl.opengl.Display.<clinit>(SourceFile:138)
... 26 more
I am under Archlinux and libxrandr is installed and up to date (version 1.5.1-2).
What else can cause this error?
[Solved] I installed several packages and modified several configuration files, and it works now! I think the main problem was that the package xorg-xrandr was not installed, only libxrandr was.