Teleport NPE problem
Posted: Wed Nov 04, 2009 3:44 pm
So when i try to recall a character or to run event (which uses teleToLocation) i get this error.. Its from 2-3 days and its pretty annoying ,because the whole GS crashes sometimes ,but most just logs an NPE and event/teleport is stucked..
Thats the error :
What i tried so far :
tried to make if (this == null) { return; } ,but its still logging this error..
Line of L2Character , teleToLocation error :
p.s. Im using l2j ,just did a refactor to eu.l2eminence to make my life easier xD
p.s.2 i just updated the server to lastet revision..
p.s.3 I didn't touch the teleToLocation function
Thats the error :
Code: Select all
Client: [Character: Lee - Account: wizzyto - IP: XX.XX.XX.XX] - Failed running: [C] 5b SendBypassBuildCmd - L2J Server Version: NULL - DP Revision: NULL:NULLjava.lang.NullPointerException at eu.l2eminence.gameserver.model.actor.L2Character.teleToLocation(L2Character.java:514) at eu.l2eminence.gameserver.handler.admincommandhandlers.AdminTeleport.teleportCharacter(AdminTeleport.java:327) at eu.l2eminence.gameserver.handler.admincommandhandlers.AdminTeleport.useAdminCommand(AdminTeleport.java:163) at eu.l2eminence.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:63) at eu.l2eminence.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:79) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
tried to make if (this == null) { return; } ,but its still logging this error..
Line of L2Character , teleToLocation error :
Code: Select all
getWorldRegion().removeFromZones(this);
p.s.2 i just updated the server to lastet revision..
p.s.3 I didn't touch the teleToLocation function