Jump to content
  • 0

L2 Archid Problem


Question

Posted

Hello People!

I have problem. When i log in game in console is show me this.

Exception in thread "SelectorThread-52" java.lang.NullPointerException
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.getPacket(Ar
chidGamePacketHandler.java:85)
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.handlePacket
(ArchidGamePacketHandler.java:68)
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.handlePacket
(ArchidGamePacketHandler.java:44)
       at org.mmocore.network.SelectorThread.parseClientPacket(SelectorThread.j
ava:419)
       at org.mmocore.network.SelectorThread.tryReadPacket(SelectorThread.java:
360)
       at org.mmocore.network.SelectorThread.readPacket(SelectorThread.java:294
)
       at org.mmocore.network.SelectorThread.run(SelectorThread.java:176)

How to repair???

13 answers to this question

Recommended Posts

  • 0
Posted

i am sorry i dont know rev this pack  :-\

ArchidGamePacketHandler.java

line 85

else

printDebug(opcode, buf, state, client);

 

return packet.clonePacket();

}

 

line 68

}

return getPacket(state, opcode, buf ,client);

}

 

line 44

/**

* @author Setekh

*/

public class ArchidGamePacketHandler implements IPacketHandler<L2GameClient>, IClientFactory<L2GameClient>, IMMOExecutor<L2GameClient>

{

 

SelectorThread.java

line 294

// only reachable if MAX_READ_PER_PASS has been reached

// check if there are some more bytes in buffer

// and allocate/compact to prevent content lose.

if (buf.remaining() > 0)

 

line 176

case SelectionKey.OP_WRITE:

{

writePacket(key, con);

break;

}

  • 0
Posted

i am sorry i dont know rev this pack  :-\

ArchidGamePacketHandler.java

SelectorThread.java

line 176

thats a null pointer :P not a array exception.

 

Anyway make sure the packet that ist being cloned is not null, archid's dummy packets are set as null :P

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...