getAllyCrestId NPE + 1

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
Starter
Posts: 484
Joined: Sat Jan 23, 2010 4:42 pm

getAllyCrestId NPE + 1

Post 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)
I have promises to keep and miles to go before I sleep.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: getAllyCrestId NPE + 1

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Starter
Posts: 484
Joined: Sat Jan 23, 2010 4:42 pm

Re: getAllyCrestId NPE + 1

Post 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.
I have promises to keep and miles to go before I sleep.
Locked