HELP (Strange Error)

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
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

HELP (Strange Error)

Post by kornom »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:6257
L2JDP Revision Number:10006

Hello friends, I need some help with this weird error:

Exception in thread "GeneralSTPool-10" java.lang.NullPointerException
at com.l2jserver.gameserver.instancemanager.WalkingManager.startMoving(W
alkingManager.java:464)
at com.l2jserver.gameserver.instancemanager.WalkingManager$ArrivedTask.r
un(WalkingManager.java:655)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Re: HELP (Strange Error)

Post by HappyLDE »

I have same error.. :)
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: HELP (Strange Error)

Post by kornom »

What is this error about? should I be worried?
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: HELP (Strange Error)

Post by Nerimah »

Still no clue about this error?
French touch.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: HELP (Strange Error)

Post by Zoey76 »

This is BETA?
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: HELP (Strange Error)

Post by Nerimah »

Zoey76 wrote:This is BETA?
No it's from STABLE version.
Last edited by Nerimah on Sun Mar 09, 2014 2:30 pm, edited 2 times in total.
French touch.
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: HELP (Strange Error)

Post by Nerimah »

After some debugging I found that the error is coming from the patrolling NPCs "Lesser Evil" inside the Anomic Foundry that have bad routes or maybe the geodata is not good there:
Index: java/com/l2jserver/gameserver/instancemanager/WalkingManager.java
===================================================================
--- java/com/l2jserver/gameserver/instancemanager/WalkingManager.java   (revision 6326)
+++ java/com/l2jserver/gameserver/instancemanager/WalkingManager.java   (working copy)
@@ -23,6 +23,7 @@
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ScheduledFuture;
+import java.util.logging.Level;
 
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
@@ -459,6 +460,11 @@
                if ((npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_ACTIVE) || (npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE))
                {
                    WalkInfo walk = _activeRoutes.get(npc.getObjectId());
+                   if (walk == null)
+                   {
+                       _log.log(Level.WARNING, "Could not find route for npc [" + npc.getObjectId() + "] " + npc.getName(), "");
+                       return;
+                   }
                   
                    // Prevent call simultaneously from scheduled task and onArrived() or temporarily stop walking for resuming in future
                    if (walk._blocked || walk._suspended)
 
Could not find route for npc [268484565] Lesser Evil
Could not find route for npc [268484619] Lesser Evil
Could not find route for npc [268484626] Lesser Evil
Could not find route for npc [268484629] Lesser Evil
French touch.
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: HELP (Strange Error)

Post by Nerimah »

Up!
French touch.
User avatar
Konstantinos
Posts: 501
Joined: Wed Feb 08, 2012 12:19 pm

Re: HELP (Strange Error)

Post by Konstantinos »

Nerimah wrote:Up!
stop the up in l2j forum :evil:
ZOOmbi
Posts: 1
Joined: Sun Mar 11, 2012 7:25 pm

Re: HELP (Strange Error)

Post by ZOOmbi »

Topic is relevant.
A similar error:
Exception in thread "GeneralSTPool-1" java.lang.NullPointerException
at com.l2jserver.gameserver.instancemanager.WalkingManager.startMoving(W
alkingManager.java:464)
at com.l2jserver.gameserver.instancemanager.WalkingManager$ArrivedTask.r
un(WalkingManager.java:655)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Konstantinos wrote:stop the up in l2j forum :evil:
What do you forum moderator? Answer me essentially. No? Go then past the! And do not tamp your posts!
Post Reply