Page 1 of 1

EnterWorld: ArrayIndexOutOfBoundsException

Posted: Sun Dec 12, 2010 9:15 am
by Starter
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4430
L2JDP Revision Number: 7672

Im getting this here lateley:

Code: Select all

Client: [Character: ---[---] - Account: --- - IP: ---] - Failed running: [C] 03 EnterWorld - L2J Server Version: 4429M - DPRevision: Unsupported Custom Version. ; 25java.lang.ArrayIndexOutOfBoundsException: 25        at com.l2jserver.gameserver.model.itemcontainer.Inventory.setPaperdollItem(Inventory.java:969)        at com.l2jserver.gameserver.model.itemcontainer.Inventory.unEquipItemInSlot(Inventory.java:1110)        at com.l2jserver.gameserver.model.itemcontainer.Inventory.unEquipItemInSlotAndRecord(Inventory.java:1125)        at com.l2jserver.gameserver.model.L2ItemInstance.decreaseMana(L2ItemInstance.java:1245)        at com.l2jserver.gameserver.model.L2ItemInstance.decreaseMana(L2ItemInstance.java:1187)        at com.l2jserver.gameserver.network.clientpackets.EnterWorld.runImpl(EnterWorld.java:438)        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1001)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)
???

Re: EnterWorld: ArrayIndexOutOfBoundsException

Posted: Sun Dec 12, 2010 9:29 am
by janiii
check your items table and the column loc_data for the number 25. check the item that has this slot assigned.

Re: EnterWorld: ArrayIndexOutOfBoundsException

Posted: Sun Dec 12, 2010 9:31 am
by Starter
janiii wrote:check your items table and the column loc_data for the number 25. check the item that has this slot assigned.
Ok thank you but what to do then? Change the slot to the correct one? How can that happen?^^

Re: EnterWorld: ArrayIndexOutOfBoundsException

Posted: Sun Dec 12, 2010 9:32 am
by janiii
try this query to get the problematic item:

Code: Select all

SELECT * FROM items WHERE loc = 'PAPERDOLL' AND loc_data > 24;
check what item it is, which slot does it belong to, etc.

Re: EnterWorld: ArrayIndexOutOfBoundsException

Posted: Sun Dec 12, 2010 9:38 am
by Starter
Its a talisman.^^

But this exception is only thrown by a talisman of one specific player. Another guy has it in the same slot and no exception. oO