Insufficient Info 1.14 Nullpoint

Discussion in 'Bug Reports' started by Bean_Yuan, Nov 6, 2019.

  1. Bean_Yuan

    Bean_Yuan New Member
    Premium Supporter Supporter

    Joined:
    Apr 30, 2019
    Messages:
    6
    Likes Received:
    0
    [Server thread/WARN]: [MMOItems] Task #71 for MMOItems v4.7.17 generated an exception
    java.lang.NullPointerException: null
    at net.Indyuce.mmoitems.MMOItems.lambda$3(MMOItems.java:180) ~[?:?]
    at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_221]
    at java.util.Collections$UnmodifiableCollection.forEach(Unknown Source) ~[?:1.8.0_221]
    at net.Indyuce.mmoitems.MMOItems.lambda$2(MMOItems.java:180) ~[?:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1008) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:956) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:801) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]

    My server version 1.14 spigot
     
    #1
  2. Roger M

    Roger M Member
    Premium Supporter Supporter

    Joined:
    May 13, 2016
    Messages:
    216
    Likes Received:
    19
    Please provide some more info. What were you doing when the error occurred? What is the config for the item that generated the error? Does this only happen in certain instances, or is it constant?
     
    #2
  3. Bean_Yuan

    Bean_Yuan New Member
    Premium Supporter Supporter

    Joined:
    Apr 30, 2019
    Messages:
    6
    Likes Received:
    0
    [MMOItems] Hooked onto PlaceholderAPI
    [17:12:38 ERROR]: Error occurred while enabling MMOItems v5.1-SNAPSHOT (Is it up to date?)
    java.lang.NoClassDefFoundError: io/lumine/xikage/mythicmobs/skills/placeholders/Placeholder
    at net.Indyuce.mmoitems.MMOItems.onEnable(MMOItems.java:230) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:347) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:410) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:436) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:350) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:580) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:542) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:420) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:294) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:698) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    Caused by: java.lang.ClassNotFoundException: io.lumine.xikage.mythicmobs.skills.placeholders.Placeholder
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:136) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:82) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_221]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_221]
    ... 12 more
     
    #3
  4. Bean_Yuan

    Bean_Yuan New Member
    Premium Supporter Supporter

    Joined:
    Apr 30, 2019
    Messages:
    6
    Likes Received:
    0
    [Server thread/INFO]: Bean_Yuan lost connection: Timed out
    [17:17:06] [Server thread/INFO]: Bean_Yuan left the game
    [17:17:08] [User Authenticator #2/INFO]: UUID of player Bean_Yuan is ed59f970-6a9a-3dcb-a604-43fee0a8b35f
    [17:17:09] [Server thread/INFO]: Bean_Yuan[/171.43.250.171:21064] logged in with entity id 795 at ([world]240.0, 78.0, 80.0)
    [17:17:09] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MMOItems v5.1-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:423) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:390) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:386) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1704) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PacketPlayInArmAnimation.a(SourceFile:32) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PacketPlayInArmAnimation.a(SourceFile:9) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:123) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:872) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    Caused by: java.lang.NullPointerException
    at net.Indyuce.mmoitems.api.player.PlayerData.castAbilities(PlayerData.java:358) ~[?:?]
    at net.Indyuce.mmoitems.api.player.PlayerData.castAbilities(PlayerData.java:353) ~[?:?]
    at net.Indyuce.mmoitems.listener.PlayerListener.g(PlayerListener.java:105) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    ... 20 more

    This thread happended when i break block with hand.
     
    #4
    Last edited: Nov 7, 2019
  5. Indyuce

    Indyuce Developer
    Developer Supporter

    Joined:
    Jun 18, 2019
    Messages:
    19
    Likes Received:
    0
    This looks like a compatibility issue with MythicMobs, most of the time these happen when one of the two plugins use outdated API or when builds used on the server are outdated. I've tried running the latest dev builds of MythicMobs and MMOItems on a 1.14 server (got the build from BuildTools yesterday), MI had no issue loading.

    Make sure you're using the latest version of MythicMobs and that there are no issues when MM loads & enables.
     
    #5
  6. Bean_Yuan

    Bean_Yuan New Member
    Premium Supporter Supporter

    Joined:
    Apr 30, 2019
    Messages:
    6
    Likes Received:
    0
    Thanks, after i updates mythicmobs version, MMoitem works without THread.
     
    #6
  7. Bean_Yuan

    Bean_Yuan New Member
    Premium Supporter Supporter

    Joined:
    Apr 30, 2019
    Messages:
    6
    Likes Received:
    0
    Now i can run server with command of mmoitem, but i still got this thread when i break block.

    [22:48:10] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MMOItems v5.1-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:423) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:390) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PlayerInteractManager.a(PlayerInteractManager.java:110) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1185) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:123) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:872) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    Caused by: java.lang.NullPointerException
    at net.Indyuce.mmoitems.api.player.PlayerData.castAbilities(PlayerData.java:358) ~[?:?]
    at net.Indyuce.mmoitems.api.player.PlayerData.castAbilities(PlayerData.java:353) ~[?:?]
    at net.Indyuce.mmoitems.listener.PlayerListener.g(PlayerListener.java:105) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[Spigot-1.14.jar:git-Spigot-c8d4cef-1fee35b]
    ... 20 more
     
    #7
  8. Indyuce

    Indyuce Developer
    Developer Supporter

    Joined:
    Jun 18, 2019
    Messages:
    19
    Likes Received:
    0
    Paste your entire server logs using hastebin
     
    #8

Share This Page