Teleport NPE problem

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Teleport NPE problem

Post by Lee »

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 :

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)
What i tried so far :

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. 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Teleport NPE problem

Post by _DS_ »

at eu.l2eminence.gameserver ? latest revision ? :lol: :lol: :lol:

Ask questions where you downloaded this server. Closed.

PS. this cant be null.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Teleport NPE problem

Post by Lee »

Any solution? ;/
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Teleport NPE problem

Post by Probe »

how do you expect us to help when you use a custom core and don't post sourcecode?
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Teleport NPE problem

Post by Lee »

Probe wrote:how do you expect us to help when you use a custom core and don't post sourcecode?
Its not a custom core damnit ..

I JUST DID A REFACTOR WHICH CHANGED NET.SF.L2J TO EU.L2EMINENCE TO EASIER OUR DEV TEAM'S LIFE.

Sorry ,but i already mentioned it 3 times..
User avatar
Intrepid
Posts: 59
Joined: Thu Oct 02, 2008 9:16 am
Location: Hungary

Re: Teleport NPE problem

Post by Intrepid »

BTW thats an interlude server why you post it in gracia server support section?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Teleport NPE problem

Post by jurchiks »

Intrepid wrote:BTW thats an interlude server why you post it in gracia server support section?
it's legacy server section...

did you check the files mentioned in the error?
i seem to recall the same or similar error being reported in this forum, maybe in another section though...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Teleport NPE problem

Post by Lee »

jurchiks wrote:
Intrepid wrote:BTW thats an interlude server why you post it in gracia server support section?
it's legacy server section...

did you check the files mentioned in the error?
i seem to recall the same or similar error being reported in this forum, maybe in another section though...
i already fixed it.
Post Reply