Bug: Unhandled exception executing command 'mm'

Discussion in 'Bug Reports' started by tappestry, Jan 15, 2020.

  1. tappestry

    tappestry Member
    Supporter New

    Joined:
    Mar 4, 2016
    Messages:
    36
    Likes Received:
    2
    Enter a brief description of what is broken Unhandled exception executing command 'mm'

    What version of Minecraft are you using? All of the above

    What server jar are you using? Spigot 1.15.1

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 3169

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    Reloading plugin with mounted monsters causes exception:
    Code:
    [21:03:56] [Server thread/WARN]: Unexpected exception while parsing console command "mm reload"
    org.bukkit.command.CommandException: Unhandled exception executing command 'mm' in plugin MythicMobs v4.9.0-SNAPSHOT-3169
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot.jar:git-Spigot-492a779-99cf10e]
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot.jar:git-Spigot-492a779-99cf10e]
    	at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:711) ~[spigot.jar:git-Spigot-492a779-99cf10e]
    	at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchServerCommand(CraftServer.java:696) [spigot.jar:git-Spigot-492a779-99cf10e]
    	at net.minecraft.server.v1_15_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:430) [spigot.jar:git-Spigot-492a779-99cf10e]
    	at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:394) [spigot.jar:git-Spigot-492a779-99cf10e]
    	at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:978) [spigot.jar:git-Spigot-492a779-99cf10e]
    	at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:823) [spigot.jar:git-Spigot-492a779-99cf10e]
    	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
    Caused by: java.lang.NullPointerException
    	at io.lumine.xikage.mythicmobs.mobs.ActiveMob.remountType(ActiveMob.java:234) ~[?:?]
    	at io.lumine.xikage.mythicmobs.commands.ReloadCommand.onCommand(ReloadCommand.java:35) ~[?:?]
    	at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:69) ~[?:?]
    	at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:60) ~[?:?]
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot.jar:git-Spigot-492a779-99cf10e]
    	... 8 more


    Example Configurations
    Code:
    skeleton1:
      Type: skeleton
      Display: 'Skeleton1'
      Health: 10
      Damage: 1
      Mount: skeleton2
      AIGoalSelectors:
      - 0 clear
      - 1 meleeattack
      - 2 MoveTowardsTarget
      AITargetSelectors:
      - 0 clear
      - 1 players
    skeleton2:
      Type: skeleton
      Display: 'Skeleton2'
      Health: 10
      Damage: 1
      AIGoalSelectors:
      - 0 clear
      - 1 meleeattack
      - 2 MoveTowardsTarget
      AITargetSelectors:
      - 0 clear
      - 1 players
      Skills:
      - mount{type=skeleton3} ~onSpawn
    skeleton3:
      Type: skeleton
      Display: 'Skeleton3'
      Health: 10
      Damage: 1
      AIGoalSelectors:
      - 0 clear
      - 1 meleeattack
      - 2 MoveTowardsTarget
      AITargetSelectors:
      - 0 clear
      - 1 players
     
    #1

Share This Page