Jump to content
  • 0

Problem at game server console Interlude


Question

Posted

 

Hello, I have a very big problem. This problem does not allow the server to start and if the server starts it will restart it automatically. What's the problem ?

 

Exception in a Runnable execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.remove(ArrayList.java:535)
    at net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.lambda$run$0(DM.java:47)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:252)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

 

 

12 answers to this question

Recommended Posts

  • 0
Posted
FATAL: Failed to open server socket. Reason: Address already in use
Address already in use
----------------------------------------------------=[ Under SIGTERM process ]
ThreadPool: Shutting down.

 

  • 0
Posted
18 minutes ago, TreVor said:

FATAL: Failed to open server socket. Reason: Address already in use
Address already in use
----------------------------------------------------=[ Under SIGTERM process ]
ThreadPool: Shutting down.

 

kai basika mias k exeis balei eola..8a exeis polla problimata 

  • 0
Posted (edited)

ok and this problem ?

Quote

Exception in a Runnable execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.remove(ArrayList.java:535)
    at net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.lambda$run$0(DM.java:47)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:252)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

 

Edited by TreVor
  • 0
Posted

something wrong with your events try to disable them

execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1

on your task of Death Match event something wrong there

  • 0
Posted (edited)
1 hour ago, TreVor said:

ok and this problem ?

 

You are trying to access a non-existent index, for example you have an array of size 4, and you are trying to access index 4 onwards, you must remember that the indexes start from number 0

Edited by TGSLineage2
  • 0
Posted
4 minutes ago, TreVor said:

Ok men , you can fix this problem for money?

 

Try to do it yourself, look in these lines for the index inconsistency that indicates.

 

net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at

  • 0
Posted

And i have second problem.

 

Client: [IP: 92.63.111.139] - Failed reading: [C] ProtocolVersion ; java.nio.BufferUnderflowException
null
java.nio.BufferUnderflowException
    at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:647)
    at java.base/java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:388)
    at net.sf.l2j.commons.mmocore.ReceivablePacket.readD(ReceivablePacket.java:45)
    at net.sf.l2j.gameserver.network.clientpackets.ProtocolVersion.readImpl(ProtocolVersion.java:14)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.read(L2GameClientPacket.java:30)
    at net.sf.l2j.commons.mmocore.SelectorThread.parseClientPacket(SelectorThread.java:430)
    at net.sf.l2j.commons.mmocore.SelectorThread.tryReadPacket(SelectorThread.java:367)
    at net.sf.l2j.commons.mmocore.SelectorThread.readPacket(SelectorThread.java:300)
    at net.sf.l2j.commons.mmocore.SelectorThread.run(SelectorThread.java:172)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...