Exception in thread "GeneralSTPool-14" java.lang.NullPointer

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
User avatar
xone
Posts: 122
Joined: Thu Nov 05, 2009 5:04 am

Exception in thread "GeneralSTPool-14" java.lang.NullPointer

Post by xone »

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

Anyone know what this is ? :roll:
Exception in thread "GeneralSTPool-14" java.lang.NullPointerException
at javolution.util.FastList$Node.access$000(FastList.java:768)
at javolution.util.FastList$FastListIterator.next(FastList.java:1020)
at com.l2jserver.gameserver.instancemanager.ItemsOnGroundManager$StoreIn
Db.run(ItemsOnGroundManager.java:228)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
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)
Another one:
Exception in thread "GeneralSTPool-13" java.lang.NullPointerException
at javolution.util.FastList$Node.access$000(FastList.java:768)
at javolution.util.FastList$FastListIterator.next(FastList.java:1020)
at com.l2jserver.gameserver.instancemanager.ItemsOnGroundManager$StoreIn
Db.run(ItemsOnGroundManager.java:228)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
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)
benurb
Posts: 77
Joined: Sun Dec 10, 2006 2:00 pm

Re: Exception in thread "GeneralSTPool-14" java.lang.NullPoi

Post by benurb »

Concurrency issue ^^ Replace the collection that is iterated over (in the lines you see in stack trace) with a thread safe collection (FastList/FastMap.shared(), CopyOnWriteArrayList, ConcurrentHashMap, etc.), do neccessary synchronization, and post a diff in "User Contributions" forum ^^
Post Reply