- Feb 10, 2021
- 743
- 1,367
I tried to save and this happened.
edit: This was the error text
com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:122)
at com.majalis.talesofandrogyny.desktop.DesktopLauncher.main(DesktopLauncher.java:39)
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at com.majalis.screens.AbstractScreen.getScreenshot(AbstractScreen.java:437)
at com.majalis.screens.AbstractScreen.takeScreenshot(AbstractScreen.java:417)
at com.majalis.screens.WorldMapScreen.save(WorldMapScreen.java:701)
at com.majalis.screens.WorldMapScreen.access$1200(WorldMapScreen.java:98)
at com.majalis.screens.WorldMapScreen$11.clicked(WorldMapScreen.java:561)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:355)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:394)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:143)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:116)
... 1 more
edit: This was the error text
com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:122)
at com.majalis.talesofandrogyny.desktop.DesktopLauncher.main(DesktopLauncher.java:39)
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at com.majalis.screens.AbstractScreen.getScreenshot(AbstractScreen.java:437)
at com.majalis.screens.AbstractScreen.takeScreenshot(AbstractScreen.java:417)
at com.majalis.screens.WorldMapScreen.save(WorldMapScreen.java:701)
at com.majalis.screens.WorldMapScreen.access$1200(WorldMapScreen.java:98)
at com.majalis.screens.WorldMapScreen$11.clicked(WorldMapScreen.java:561)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:355)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:394)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:143)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:116)
... 1 more