NoSuchMethodError in 1.14.4-1.21.2.0 only affects the client
kreezxil opened this issue ยท 5 comments
Client
crash report
latest log
java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
at com.therandomlabs.randompatches.client.WindowIconHandler.readImageToBuffer(WindowIconHandler.java:189) ~[?:1.14.4-1.21.2.0] {re:classloading}
at com.therandomlabs.randompatches.client.WindowIconHandler.setWindowIcon(WindowIconHandler.java:88) ~[?:1.14.4-1.21.2.0] {re:classloading}
at com.therandomlabs.randompatches.client.WindowIconHandler.setWindowIcon(WindowIconHandler.java:35) ~[?:1.14.4-1.21.2.0] {re:classloading}
I'm really not sure how, but somehow, java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
was being called instead of java.nio.ByteBuffer.rewind()Ljava/nio/Buffer;
. Rebuilding the source code mysteriously fixes this.
EDIT: Turns out I was accidentally building with JDK 14. ๐คฆ
it could be one of those things that doesn't crash in the developer's
environment such as via the IDE but crashes in the field use cases outside
of said environment.
โฆOn Fri, Jul 3, 2020 at 7:22 PM TheRandomLabs ***@***.***> wrote:
Closed #108 <#108>.
โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5TJCHGYK5J52K6EK22WJTRZZY5FANCNFSM4OP7HMCQ>
.