UltraFactionsRanking

Discussion in 'Spigot Plugin Help' started by Th3BOBx, Jun 3, 2017.

  1. Hello everyone,
    I use https://www.spigotmc.org/resources/ultrafactionsranking-custom-chat-now.36446/
    My version of Factions is: FactionsUUID-1.6.9.5
    In logs I have this message:
    [​IMG]
    [07:26:20] [Async Chat Thread - #1/ERROR]: Could not pass event AsyncPlayerChatEvent to UltraFactionsRanking v1.0.3
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.PlayerConnection.chat(PlayerConnection.java:1084) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1022) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    Caused by: java.lang.NullPointerException
    at fr.gravenilvec.ultrafactionsranking.storage.sql.SQLStorage.getPoints(SQLStorage.java:178) ~[?:?]
    at fr.gravenilvec.ultrafactionsranking.FactionsRankingListeners.onChat(FactionsRankingListeners.java:40) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_112]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_112]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    ... 11 more

    So, if somebody know what is the problem....
     
  2. have you setup a database?
     
    • Like Like x 1
  3. no, you think it's the problem ?
     
  4. Its related to a database being setup incorrectly as its a NPE, which means probably the database credentials are not setup or in other words = to null