Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

NullPointerException in timer of Essentials #63

Open
ghost opened this issue Feb 14, 2017 · 1 comment
Open

NullPointerException in timer of Essentials #63

ghost opened this issue Feb 14, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 14, 2017

Bug on essentials, spam error:

23:49:32 [CRITICAL] Exception while invoking run
java.lang.NullPointerException
at com.earth2me.essentials.EssentialsTimer.run(EssentialsTimer.java:99)
at cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:99)
at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:282)
at cn.nukkit.Server.tick(Server.java:1005)
at cn.nukkit.Server.tickProcessor(Server.java:800)
at cn.nukkit.Server.start(Server.java:779)
at cn.nukkit.Server.(Server.java:464)
at cn.nukkit.Nukkit.main(Nukkit.java:68)

@rutgerkok rutgerkok changed the title Timer? :o Essentials NullPointerException in timer of Essentials Feb 15, 2017
@MrPowerGamerBR
Copy link
Collaborator

As a reference:

if (user.getLastOnlineActivity() < currentTime && user.getLastOnlineActivity() > user.getLastLogout())

This line is throwing NPE with Pokkit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants