ProjectInfinity / PocketVote-Nukkit

8 stars 6 forks source link

Error on Boot #1

Closed imjack closed 7 years ago

imjack commented 7 years ago

00:25:21 [CRITICAL Exception while async task 0 invoking onCompletion ] java.lang.NullPointerException at io.pocketvote.task.VoteCheckTask.lambda$onCompletion$1(VoteCheckTask.java:85) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:18 01) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:1 74) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at io.pocketvote.task.VoteCheckTask.onCompletion(VoteCheckTask.java:85) at cn.nukkit.scheduler.AsyncTask.collectTask(AsyncTask.java:83) at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:300 ) at cn.nukkit.Server.tick(Server.java:1018) at cn.nukkit.Server.tickProcessor(Server.java:808) at cn.nukkit.Server.start(Server.java:787) at cn.nukkit.Server.(Server.java:472) at cn.nukkit.Nukkit.main(Nukkit.java:68)

Sorry about the formatting. This happens once the sever starts.

ProjectInfinity commented 7 years ago

Does this happen all the time or just sometimes?

On May 7, 2017 00:28, "Jack" notifications@github.com wrote:

00:25:21 [CRITICAL Exception while async task 0 invoking onCompletion ] java.lang.NullPointerException at io.pocketvote.task.VoteCheckTask.lambda$onCompletion$1(VoteCheckTask. java:85) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept( ReferencePipeline.java:175) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator. forEachRemaining(Spliterators.java:18 01) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto( AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential( ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef. evaluateSequential(ForEachOps.java:1 74) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at io.pocketvote.task.VoteCheckTask.onCompletion(VoteCheckTask.java:85) at cn.nukkit.scheduler.AsyncTask.collectTask(AsyncTask.java:83) at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat( ServerScheduler.java:300 ) at cn.nukkit.Server.tick(Server.java:1018) at cn.nukkit.Server.tickProcessor(Server.java:808) at cn.nukkit.Server.start(Server.java:787) at cn.nukkit.Server.(Server.java:472) at cn.nukkit.Nukkit.main(Nukkit.java:68)

Sorry about the formatting.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProjectInfinity/PocketVote-Nukkit/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkPzqEig2ln-5UJSuD6LXekdO6kl0tlks5r3PQNgaJpZM4NS7fA .

imjack commented 7 years ago

It's been happening every time I've had the time to look

imjack commented 7 years ago

What was the issue then

ProjectInfinity commented 7 years ago

IPs don't seem to be forwarded anymore. Could be a change from a voting site, however I'm unsure because PocketVote API is now on v2 which is completely rewritten and the nukkit plugin stil uses api v1

On May 21, 2017 17:10, "Jack" notifications@github.com wrote:

What was the issue then

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ProjectInfinity/PocketVote-Nukkit/issues/1#issuecomment-302942656, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkPznckHUrkbqBhR9uGM0EXPtFoZoAxks5r8FQCgaJpZM4NS7fA .