Page 1 of 1

[Error]Gameserver

Posted: Thu Jan 05, 2012 9:49 am
by DareStrike
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 5120_beta:
L2JDP Revision 8609_beta:

L2Npc.java:1660

Code: Select all

                         if(target.equals(this) && this.isDead() && getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL) != null) 

Code: Select all

 java.lang.NullPointerException    at com.l2jserver.gameserver.model.actor.L2Npc.notifyQuestEventSkillFinished(L2Npc.java:1660)    at com.l2jserver.gameserver.model.actor.L2Character.onMagicFinalizer(L2Character.java:6571)    at com.l2jserver.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:2951)    at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:86)    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)    at java.util.concurrent.FutureTask.run(FutureTask.java:166)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)    at java.lang.Thread.run(Thread.java:722) 

Re: [Error]Gameserver

Posted: Thu Jan 05, 2012 1:07 pm
by Zoey76
You have custom code in L2Npc, we can't help you without all the information.

Couldn't find this in L2J...

Code: Select all

if(target.equals(this) && this.isDead() && getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL) != null)
Probably missing NPE check for target.

Code: Select all

if((target != null) && target.equals(this) && ...

Re: [Error]Gameserver

Posted: Thu Jan 05, 2012 1:42 pm
by DareStrike
edit for this code viewtopic.php?f=80&t=24044&start=15
and test for Frintezza is ok..