Could not pass CreatureSpawnEvent #1


  • New
  • Defect
  • Replied
Open
  • Forge_User_91887808 created this issue Jul 3, 2013
    Owner

    (Original comment: @Matt19901: Go)

    Here i get this error in the console for the plugin using a dev build for 1.6.1:

    2013-07-03 11:19:10 [SEVERE] Could not pass event CreatureSpawnEvent to MobVariants v1.4.0
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    	at org.bukkit.craftbukkit.v1_6_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:240)
    	at net.minecraft.server.v1_6_R1.World.addEntity(World.java:923)
    	at net.minecraft.server.v1_6_R1.SpawnerCreature.spawnEntities(SpawnerCreature.java:161)
    	at net.minecraft.server.v1_6_R1.WorldServer.doTick(WorldServer.java:182)
    	at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:564)
    	at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:226)
    	at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:486)
    	at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:419)
    	at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)
    Caused by: java.lang.IllegalArgumentException: Health must be between 0 and 484.8799743652344
    	at org.bukkit.craftbukkit.v1_6_R1.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:76)
    	at org.bukkit.craftbukkit.v1_6_R1.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:437)
    	at uk.org.g33k.mobvariants.MobVariants.applyAttribute(MobVariants.java:491)
    	at uk.org.g33k.mobvariants.MobVariants.onMobSpawn(MobVariants.java:89)
    	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    	... 12 more
    
  • Forge_User_91887808 added the tags New Defect Jul 3, 2013
  • Forge_User_91887808 posted a comment Jul 3, 2013

    Could you please provide the following information:

    1. At the time of the error, were you attempting to use the /spawnvariant command?
    2. If so, what mob were you trying to spawn and with which variants?
    3. Does the error occur repeatedly or has it only occurred once?
    4. What other plugins were you using at the time?
    5. Does the error persist if you use the CraftBukkit 1.5.2-R1.0 build?

    Edited Jul 3, 2013
  • Forge_User_91887808 removed a tag Waiting Jul 3, 2013
  • Forge_User_91887808 added a tag Replied Jul 3, 2013
  • Forge_User_91887808 edited description Jul 3, 2013
  • Forge_User_91887808 removed a tag Replied Jul 3, 2013
  • Forge_User_91887808 added a tag Waiting Jul 3, 2013
  • _ForgeUser9506871 posted a comment Jul 3, 2013
    1. No
    2. Same 1
    3. Very rarely
    4. [INFO] Plugins (50): MultiWorld, mcjobs, Rider, mcore, Vault, Parachute, PhatLoots, DisguiseCraft, OpenInv, Votifier, GemXP, MobArena, DoubleXP, SimpleVoteListener, Portals, WorldEdit, uHome, VanishNoPacket, ChatColors, PlayerHeads, PermissionsEx, ChatGuard, LogBlock, CreeperControl, Questioner, More-Mobs, Commandspy, MCPacks, ComPassionate, MobVariants, Nicknames, pvparena, FactionMobs, CraftBukkitUpToDate, AntiXRay, WarpMaster, Herochat, SignURLs, HeavySpleef, CommandBook, mcMMO, BOSEconomy, WorldGuard, Factions, Register, CompatNoCheatPlus, ChestShop, FactionsPlus, NoCheatPlus, MagicalSpells and MobHealth which is having it owns issues so i disabled it
    5. Not that i have noticed

    And the plugin still works


    Edited Jul 3, 2013
  • _ForgeUser9506871 removed a tag Waiting Jul 3, 2013
  • _ForgeUser9506871 added a tag Replied Jul 3, 2013
  • Forge_User_91887808 posted a comment Jul 4, 2013

    @Matt19901: Go

    Did you disable or change any of the plugins when you switched from 1.6.1 back to 1.5.2?

  • Forge_User_91887808 removed a tag Replied Jul 4, 2013
  • Forge_User_91887808 added a tag Waiting Jul 4, 2013
  • _ForgeUser9506871 posted a comment Jul 4, 2013

    @Hunter_X: Go

    I disabled MobHealth and combat tag is on but isnt loading and i updated several of them

  • _ForgeUser9506871 removed a tag Waiting Jul 4, 2013
  • _ForgeUser9506871 added a tag Replied Jul 4, 2013
  • Forge_User_91887808 posted a comment Jul 6, 2013

    @Matt19901: Go

    Does the error still occur if you temporarily disable all of the plugins except MobVariants (you may want to test this with a copy of your server files so you don't have to worry about losing the config settings for your other plugins in the live version), in either 1.6.1 or 1.5.2?

  • Forge_User_91887808 removed a tag Replied Jul 6, 2013
  • Forge_User_91887808 added a tag Waiting Jul 6, 2013
  • _ForgeUser9506871 posted a comment Aug 18, 2013

    i think that mobhealth could be causing this maybe

  • _ForgeUser9506871 removed a tag Waiting Aug 18, 2013
  • _ForgeUser9506871 added a tag Replied Aug 18, 2013
  • _ForgeUser12166923 posted a comment Nov 1, 2013

    Hi, has this been fixed yet? I am also getting an error. I don't use mobhealth like Matt but i use healthbar. We also use mcmmo which is interesting.

    Caused by: java.lang.IllegalArgumentException: Health must be between 0 and 201.55125427246094

    This pops up in varying numbers within the error messages.

    At the time of the error, were you attempting to use the /spawnvariant command?

    I have never used the /spawnvariant command and left it to spawn naturally.

    Does the error occur repeatedly or has it only occurred once?

    This happens very frequently on my live server - DOES NOT happen as the only plugin on a 1.6.2 local test environment.

    What other plugins were you using at the time?

    WorldBorder, bPermissions, DiscoArmo, neoPaintingSwitch, Vault, Backpack, MyHome, stables, bChatManager, Decapitation, OpenInv, BanManager, DailyLog, ProtocolLib, SimpleHug, Votifier, mcMMO, GAListener, Lift, QuickShop, WorldEdit, SignEditor, Simple-AutoSave, PvPTime, HealthBar, EchoPet, WorldGuard, ChatGames, Commandspy, IP-Check, AntiXRay, Lockette, MyWarp, MobHunting, Freeze, Essentials, Enjin Minecraft Plugin, Prism, Chairs, CompatNoCheatPlus, EssentialsChat, NoCheatPlus, EssentialsProtect, EssentialsSpawn, EssentialsGeoIP, VanishNoPacket, EssentialsAntiBuild, PreciousStones, CraftIRC

    Does the error persist if you use the CraftBukkit 1.5.2-R1.0 build?

    Not in a test environment - I'm unable to downgrade live and currently do not have a local backup of my live server.

    I hope this is of help to you and if you request anymore information I'll be glad to help. I like this plugin and in game all appears to work regardless of the console errors.


    Edited Nov 1, 2013
  • _ForgeUser18312639 posted a comment Dec 22, 2014

    As u can see

    Caused by: java.lang.IllegalArgumentException: Health must be between 0 and 484.8799743652344

    Something with Health!


    Edited Dec 22, 2014

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