Page 1 of 1

Teleport NPE problem

Posted: Wed Nov 04, 2009 3:44 pm
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

Re: Teleport NPE problem

Posted: Wed Nov 04, 2009 3:47 pm
by _DS_
at eu.l2eminence.gameserver ? latest revision ? :lol: :lol: :lol:

Ask questions where you downloaded this server. Closed.

PS. this cant be null.

Re: Teleport NPE problem

Posted: Wed Nov 04, 2009 9:16 pm
by Lee
Any solution? ;/

Re: Teleport NPE problem

Posted: Wed Nov 04, 2009 10:17 pm
by Probe
how do you expect us to help when you use a custom core and don't post sourcecode?

Re: Teleport NPE problem

Posted: Thu Nov 05, 2009 12:09 am
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..

Re: Teleport NPE problem

Posted: Thu Nov 05, 2009 2:00 am
by Intrepid
BTW thats an interlude server why you post it in gracia server support section?

Re: Teleport NPE problem

Posted: Sun Dec 20, 2009 7:08 pm
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...

Re: Teleport NPE problem

Posted: Sun Dec 20, 2009 11:31 pm
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.