brenoepics / morningstar

An open-source Arcturus Community Fork.
GNU General Public License v3.0
3 stars 2 forks source link

java.lang.IndexOutOfBoundsException: #558

Closed brenoepics closed 1 year ago

brenoepics commented 4 years ago

In GitLab by @Killua on Apr 22, 2020, 19:42

## Build Information

Emulator Version: Arcturus Morningstar 2.3.1 Emulator Build Emulator Build (hash): 5d1351d10776b10307b11909fda4e6d

What is the error?

`[ERROR] java.lang.IndexOutOfBoundsException: readerIndex(4) + length(2) exceeds writerIndex(5): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 4, widx: 5, cap: 5)
java.lang.IndexOutOfBoundsException: readerIndex(4) + length(2) exceeds writerIndex(5): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 4, widx: 5, cap: 5)
    at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1428)
    at io.netty.buffer.AbstractByteBuf.readShort(AbstractByteBuf.java:742)
    at com.eu.habbo.threading.runnables.ChannelReadHandler.run(ChannelReadHandler.java:23)
    at com.eu.habbo.threading.ThreadPooling$1.run(ThreadPooling.java:45)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.lang.Thread.run(Thread.java:748)`

When does this error occur?

Randomly

What is the outcome of this error?

Actually nothing

Steps to Reproduce

I don't know

Possible Solution

I have no idea

brenoepics commented 4 years ago

In GitLab by @Harmony on Apr 22, 2020, 20:31

closed

brenoepics commented 4 years ago

In GitLab by @Killua on Apr 23, 2020, 13:50

@Harmony how can i fix this?