NPE on player connect, attempting to add Thirst to Tablist #9


  • Accepted
Open
Assigned to hmmcrunchys
  • SpigotSlimeDog created this issue Jan 22, 2018

    Spigot 1.12.2

    Tablist 1.3.2.9

    Thirst 2.7.4

     

    Thirst values are displayed in Tablist, as soon as I can get there after connection.

    [17:48:18 ERROR]: Could not pass event PlayerJoinEvent to Tablist v1.3.2.9

    org.bukkit.event.EventException: null

            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:346) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:166) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:159) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:57) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:845) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

    Caused by: java.lang.NullPointerException

            at com.hmmcrunchy.thirst.Thirst.checkthirst(Thirst.java:975) ~[?:?]

            at com.extendedclip.papi.expansion.thirst.ThirstExpansion.onPlaceholderRequest(ThirstExpansion.java:58) ~[?:?]

            at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:342) ~[?:?]

            at com.sn1cko.tablist.methods.theMessages.replaceWithVariables(theMessages.java:242) ~[?:?]

            at com.sn1cko.tablist.methods.theTablist.sendTablist(theTablist.java:29) ~[?:?]

            at com.sn1cko.tablist.events.playerJoin.onJoin(playerJoin.java:41) ~[?:?]

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar-2018-01-21-1724:git-Spigot-4bd94dc-bdcc7c7]

            ... 14 more

     

  • hmmcrunchys posted a comment Feb 14, 2018

    HI slimedog sorry for delay - ill have to see whats going on there.  didnt think I tinkered with tablist

  • hmmcrunchys self-assigned this issue Feb 14, 2018
  • hmmcrunchys added a tag Accepted Feb 14, 2018
  • SpigotSlimeDog posted a comment Feb 20, 2018

    I don't think you are, but Tablist is looking for something that doesn't exist when it is looking for it, right? Is that a Thirst issue or a Tablist issue?

  • hmmcrunchys posted a comment Jul 17, 2018

    this actually may be placeholderapi looking for something in thirst and not finding it. not sure why that's having an issue 

  • SpigotSlimeDog posted a comment Jul 17, 2018

    OK. My placeholders are up-to-date.


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