Error

Discussion in 'Spigot Plugin Help' started by PJGamer, Jul 15, 2021.

Thread Status:
Not open for further replies.
  1. What is this?

    [21:48:04 ERROR]: Could not pass event PlayerJoinEvent to Factions v1.6.9.5-2.9.1-RC
    java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.getInt(Object)" because "this.ping" is null
    at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:71) ~[?:?]
    at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:49) ~[?:?]
    at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:95) ~[?:?]
    at com.extendedclip.papi.expansion.player.PlayerExpansion.retrievePing(PlayerExpansion.java:345) ~[?:?]
    at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:294) ~[?:?]
    at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
    at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
    at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
    at com.massivecraft.factions.tag.Tag.parsePlaceholders(Tag.java:57) ~[?:?]
    at com.massivecraft.factions.scoreboards.FSidebarProvider.replaceTags(FSidebarProvider.java:22) ~[?:?]
    at com.massivecraft.factions.scoreboards.sidebar.FDefaultSidebar.getOutput(FDefaultSidebar.java:41) ~[?:?]
    at com.massivecraft.factions.scoreboards.sidebar.FDefaultSidebar.getLines(FDefaultSidebar.java:25) ~[?:?]
    at com.massivecraft.factions.scoreboards.FScoreboard.updateObjective(FScoreboard.java:153) ~[?:?]
    at com.massivecraft.factions.scoreboards.FScoreboard.setDefaultSidebar(FScoreboard.java:105) ~[?:?]
    at com.massivecraft.factions.listeners.FactionsPlayerListener.initPlayer(FactionsPlayerListener.java:388) ~[?:?]
    at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerJoin(FactionsPlayerListener.java:366) ~[?:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor648.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Purpur-1271]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Purpur-1271]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-1271]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:308) ~[?:?]
    at net.minecraft.network.Connection.tick(Connection.java:555) ~[?:?]
    at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:196) ~[?:?]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1659) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1270) ~[patched_1.17.1.jar:git-Purpur-1271]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1271]
    at java.lang.Thread.run(Thread.java:831) [?:?]
     
  2. Contact the developer

    It is the best for these problems where you are not the author of the plugin
     
  3. Heyo,

    First, make sure you have PlaceholderAPI Downloaded & Running on your server as Factions depends on it.
    Second, make sure you have the right version of Factions for your server. Make sure the Factions version is compatible with your server version.
    Third, do you get any other messages in console from Factions? Other than that one?
     
Thread Status:
Not open for further replies.