Exception in pool executing task #91


  • Defect
  • Accepted
Open
  • _ForgeUser7815230 created this issue Sep 28, 2012

    What steps will reproduce the problem?
    1. Updated to latest bukkit (non dev)
    2. cleared gods folder to have it recreate gods files
    3. updated to gods 55
    4. load gods to create files
    5. copy back beleivers and gods list, restart server
    6. gods loads
    OR
    7. run any commands after its loaded
    OR
    8. Wait a little while doing nothing
    9. Get Errors on console

    What is the expected output? What do you see instead?
    Output seems correct, but server console throws errors, may be more serious issues.

    What version of the product are you using?
    55

    Do you have an error log of what happened?

    2012-09-29 14:03:06 [SEVERE] Exception in thread "pool-1-thread-1"
    2012-09-29 14:03:06 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin Gods v0.5.5 generated an exception while executing task 19
            at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ArithmeticException: / by zero
            at com.dogonfire.gods.GodManager.manageQuests(GodManager.java:2518)
            at com.dogonfire.gods.GodManager.update(GodManager.java:2657)
            at com.dogonfire.gods.Gods$1.run(Gods.java:424)
            at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
            at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
            ... 3 more

    2012-09-29 14:04:11 [INFO] [Gods v0.5.5] xPhoenixXx /gods list
    2012-09-29 14:04:16 [SEVERE] Exception in thread "pool-1-thread-5"
    2012-09-29 14:04:16 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin Gods v0.5.5 generated an exception while executing task 19
            at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ArithmeticException: / by zero
            at com.dogonfire.gods.GodManager.manageQuests(GodManager.java:2518)
            at com.dogonfire.gods.GodManager.update(GodManager.java:2657)
            at com.dogonfire.gods.Gods$1.run(Gods.java:424)
            at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
            at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
            ... 3 more

    Please provide any additional information below.
    Have resused gods and believers file after update. they appear to load ok as gods list and gods power seems correct.
    Also re-enabled holy land, Also set quest frequency from 1 to 0.5 however config file altered it to 0, setting to 1 or 0 makes no difference.
    Also appeared to loose all the altars, have to break/remake sign.  Not concerned about that.

  • _ForgeUser7815230 added the tags New Defect Sep 28, 2012
  • _ForgeUser7269885 posted a comment Nov 25, 2012

    I too get this error :P

  • Forge_User_09714816 posted a comment Dec 22, 2012

    This should now be fixed since 0.5.9

  • Forge_User_09714816 removed a tag New Dec 22, 2012
  • Forge_User_09714816 added a tag Accepted Dec 22, 2012

To post a comment, please login or register a new account.