Jump to content

Question

Posted

hello there

i use the acis last rev 313 and i have adapt this http://www.maxcheaters.com/files/file/26-event-engine/

 

but the engine many times have problem when need to teleport the players in event place and some other problems!!!!

 

any idea about this errors???

Oct 16, 2013 10:43:20 PM net.sf.l2j.gameserver.network.L2GameClient$CleanupTask run
WARNING: Error while cleanup client.
java.lang.NullPointerException
	at net.sf.l2j.gameserver.event.Event.getTeam(Event.java:408)
	at net.sf.l2j.gameserver.event.Korean.onLogout(Korean.java:262)
	at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.deleteMe(L2PcInstance.java:9584)
	at net.sf.l2j.gameserver.network.L2GameClient$CleanupTask.run(L2GameClient.java:632)
	at net.sf.l2j.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:85)
	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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
Oct 17, 2013 8:30:21 PM net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket run
SEVERE: Client: [Account: mycrazychar4 - IP: 187.56.48.202] - Failed reading: [C] CharacterSelected ; null
java.lang.NullPointerException
	at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.destroyItem(L2PcInstance.java:2832)
	at net.sf.l2j.gameserver.event.Zombie.onLogout(Zombie.java:141)
	at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.deleteMe(L2PcInstance.java:9591)
	at net.sf.l2j.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:413)
	at net.sf.l2j.gameserver.network.clientpackets.CharacterSelected.runImpl(CharacterSelected.java:80)
	at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:64)
	at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:805)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

2 answers to this question

Recommended Posts

  • 0
Posted

NullPointerException @ destroyItem...

 

2 possible problems:

 

  The L2PcInstance isn't online anymore and it's variable into the task is now null

  The L2PcInstance hasn't the item that the method tried to destroy...

 

2 very easy things to fix with some simple checks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..