Lamaranth

I saw same issue
http://esotericsoftware.com/forum/Spine-Viewer-crashes-from-No-Such-Method-12911?p=57297&hilit=viewer#p57297
com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: java.nio.FloatBuffer.flip()Ljava/nio/FloatBuffer;
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:135)
Caused by: java.lang.NoSuchMethodError: java.nio.FloatBuffer.flip()Ljava/nio/FloatBuffer;
at com.badlogic.gdx.graphics.glutils.VertexArray.<init>(VertexArray.java:59)
at com.badlogic.gdx.graphics.Mesh.<init>(Mesh.java:187)
at com.badlogic.gdx.graphics.Mesh.<init>(Mesh.java:158)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:103)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:80)
at com.badlogic.gdx.scenes.scene2d.Stage.<init>(Stage.java:100)
at com.esotericsoftware.spine.SkeletonViewer$UI.<init>(SkeletonViewer.java:423)
at com.esotericsoftware.spine.SkeletonViewer.create(SkeletonViewer.java:124)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:151)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)
and this is my java version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Lamaranth
  • Сообщения: 2

Nate

Please try using a newer Java version (eg 10+). We'll look at detecting this and giving a better error message.
Аватара пользователя
Nate

Nate
  • Сообщения: 9288

Lamaranth

Thanks for your help!

http://esotericsoftware.com/spine-skeleton-viewer

In this page, the link of JAVA download page lead me to get JAVA8.

I think this is the problem that people suffer from.
Lamaranth
  • Сообщения: 2

Nate

Aha, I didn't realize that Oracle showed Java 8 by default. I've updated the link, thanks for the tip!
Аватара пользователя
Nate

Nate
  • Сообщения: 9288


Вернуться в Bugs