IP-Check

IP-Check

105k Downloads

Could not pass event PlayerLoginEvent

Kalibrier opened this issue ยท 0 comments

commented

Issue Report

IP-Check Version:

Java Version:

Database Type:

Description of the problem:

How to replicate:


Checklist:

  • [] I made sure there aren't duplicates of this report (Use Search)
  • [] I made sure I am using an up-to-date version of IP-Check.
  • [] I Made sure the bug/error is not caused by any other plugin.
[16:12:28 ERROR]: Could not pass event PlayerLoginEvent to IP-Check v2.0.7
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader.lambda$createRegisteredListeners$1(JavaPluginLoader.java:281) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:488) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:473) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.PlayerList.attemptLogin(PlayerList.java:412) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.LoginListener.lambda$0(LoginListener.java:83) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_312]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_312]
        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$2(MinecraftServer.java:554) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_312]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_312]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_312]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_312]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_312]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_312]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_312]
Caused by: java.lang.NullPointerException
        at net.risenphoenix.ipcheck.database.DatabaseController.addUUID(DatabaseController.java:205) ~[?:?]
        at net.risenphoenix.ipcheck.database.DatabaseController.log(DatabaseController.java:177) ~[?:?]
        at net.risenphoenix.ipcheck.events.PlayerLoginListener.execute(PlayerLoginListener.java:82) ~[?:?]
        at net.risenphoenix.ipcheck.events.PlayerLoginListener.<init>(PlayerLoginListener.java:67) ~[?:?]
        at net.risenphoenix.ipcheck.IPCheck.onPlayerLogin(IPCheck.java:88) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_312]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_312]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_312]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_312]
        at org.bukkit.plugin.java.JavaPluginLoader.lambda$createRegisteredListeners$1(JavaPluginLoader.java:279) ~[server.jar:1.8.8-R0.1-SNAPSHOT]
        ... 16 more