Page 1 of 1

getAllyCrestId NPE + 1

Posted: Sat Jun 25, 2011 9:31 am
by Starter
L2J Revision Number: 4692
L2JDP Revision Number: 8083

Hello everyone,

I got this message

Code: Select all

SubPledgeLeader: --- is missing from clan: ---[---]
(quite for a long time now but always forgot to report it - quite spamming the server console..)

and this NPE lateley. Maybe someone can reveal the secret reason why?^^

Code: Select all

Client: [Character:---[---] - Account: ---- IP: ---] -Failed writing: [S] 32 UserInfo - L2J Server Version: 4643M - DP Revision: Unsupported Custom Version. ; nulljava.lang.NullPointerException        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.getAllyCrestId(L2PcInstance.java:4771)        at com.l2jserver.gameserver.network.serverpackets.UserInfo.writeImpl(UserInfo.java:345)        at com.l2jserver.gameserver.network.serverpackets.L2GameServerPacket.write(L2GameServerPacket.java:63)        at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorThread.java:576)        at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.java:548)        at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:467)        at org.mmocore.network.SelectorThread.run(SelectorThread.java:179)

Re: getAllyCrestId NPE + 1

Posted: Sat Jun 25, 2011 10:05 am
by janiii
1. that char is not more in that clan - check his existence, check his current clan, if it matches the given clan, delete his presence as subpledge leader.

Re: getAllyCrestId NPE + 1

Posted: Fri Jul 01, 2011 12:40 pm
by Starter
janiii wrote:1. that char is not more in that clan - check his existence, check his current clan, if it matches the given clan, delete his presence as subpledge leader.
Thanks, I did that and it solved the issue and the NPC was created by my own fault because I edited the appropriate passage at the CharInfo packet. So topic can be closed.