Event NPE

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
Post Reply
User avatar
Gries
Posts: 307
Joined: Fri Jun 17, 2011 9:45 am

Event NPE

Post by Gries »

Whenever a user in the event dies i get an NPE error in the console and he is not ressed

This is the console error:

Code: Select all

java.lang.NullPointerException
        at laszloevents.STD.STD.onDeath(STD.java:2189)
        at com.l2jserver.gameserver.model.quest.Quest.notifyDeath(Quest.java:613
)
        at com.l2jserver.gameserver.model.actor.L2Playable.doDie(L2Playable.java
:173)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.doDie(L2Pc
Instance.java:5783)
        at com.l2jserver.gameserver.model.actor.status.PcStatus.reduceHp(PcStatu
s.java:310)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.reduceCurr
entHp(L2PcInstance.java:12117)
        at com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Ch
aracter.java:7602)
        at handlers.admincommandhandlers.AdminKill.kill(AdminKill.java:136)
        at handlers.admincommandhandlers.AdminKill.useAdminCommand(AdminKill.jav
a:121)
        at com.l2jserver.gameserver.network.clientpackets.SendBypassBuildCmd.run
Impl(SendBypassBuildCmd.java:87)
        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:70)
        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1
116)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

STD: null
STD.java file:
http://pastebin.com/x9HntKUi

I have no errors nor warnings in onDeath method :|
User avatar
Battlecruiser
L2j Veteran
L2j Veteran
Posts: 332
Joined: Thu May 01, 2008 9:44 am

Re: Event NPE

Post by Battlecruiser »

Have you loaded appropriate custom skills with ids 40002-40006?
Git user
User avatar
Gries
Posts: 307
Joined: Fri Jun 17, 2011 9:45 am

Re: Event NPE

Post by Gries »

Indeex 40006 skill ID was missing in the xml file, thank you :lol:

Image
Post Reply