java.lang.NullPointerException in PRTree implementation
LadyCailinBot opened this issue ยท 8 comments
WORLDGUARD-2265 - Reported by Josh.vdub
01:58:43 [SEVERE] Exception in thread "pool-1-thread-144"
01:58:43 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin WorldGuard v684-fcfc3ac generated an exception while executing task 21
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
Comment by sk89q
Fixed I think.
But if it was a problem, it would be caused by another plugin I think.
Comment by Dark_Arc
What is your WorldGuard version? In addition, please post the full error.
Comment by Josh.vdub
that was the full error, I am using dev build 684 (as it says in the error message...)
here is a similar error i found in the logs, I have a skyblock server and "newisland" makes a worlduard region. however it also may have deleted a old region if this new island replaced an old one
2012-11-03 14:14:31 [INFO] CH: Running original command on player NoobMassacrer ----> /newisland
2012-11-03 14:14:31 [INFO] NoobMassacrer issued tphome
2012-11-03 14:14:31 [INFO] NoobMassacrer issued newisland
2012-11-03 14:14:33 [SEVERE] Exception in thread "pool-1-thread-14"
2012-11-03 14:14:33 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin WorldGuard v684-fcfc3ac generated an exception while executing task 21
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.khelekore.prtree.PRTree$Finder.findNext(PRTree.java:232)
at org.khelekore.prtree.PRTree$Finder.(PRTree.java:215)
at org.khelekore.prtree.PRTree$1.iterator(PRTree.java:185)
at com.sk89q.worldguard.protection.managers.PRTreeRegionManager.getApplicableRegions(PRTreeRegionManager.java:117)
at com.sk89q.worldguard.bukkit.FlagStateManager.run(FlagStateManager.java:88)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
Comment by Dark_Arc
What exactly do you do prior to this occurring and what plugins do you have that integrate with WorldGuard?
Comment by Josh.vdub
i no longer see these errors on my console because i refined the command helper script (re-wrote completely), but basically it checked if there was a region where the player was standing and then deleted it (if it existed) then created a new region named after the player and then added the player as a owner of that region