Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't add a player to the whitelist #24

Closed
nukerash opened this issue Jun 13, 2023 · 2 comments · Fixed by #25
Closed

Couldn't add a player to the whitelist #24

nukerash opened this issue Jun 13, 2023 · 2 comments · Fixed by #25
Assignees
Labels
type: bug Something isn't working

Comments

@nukerash
Copy link

[17:24:35 WARN]: [VoidWhitelist] Couldn't add a player to the whitelist
java.util.concurrent.CompletionException: java.lang.NullPointerException: expiresAt is marked non-null but is null
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.NullPointerException: expiresAt is marked non-null but is null
at voidpointer.spigot.voidwhitelist.storage.SimpleWhitelistable.(SimpleWhitelistable.java:29) ~[VoidWhitelist-1.0.0b480-stable.jar:?]
at voidpointer.spigot.voidwhitelist.storage.MemoryWhitelistService.lambda$add$4(MemoryWhitelistService.java:109) ~[VoidWhitelist-1.0.0b480-stable.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 6 more

@voidpointer0x00 voidpointer0x00 self-assigned this Jun 13, 2023
@voidpointer0x00 voidpointer0x00 added the type: bug Something isn't working label Jun 13, 2023
@voidpointer0x00
Copy link
Owner

voidpointer0x00 commented Jun 13, 2023

Fixed the issue, please, test the latest build on your system and tell if it's okay for you. Works for me anyway :)
v1.0.1

* Didn't even use the JSON storage myself tbh 😄

@voidpointer0x00 voidpointer0x00 linked a pull request Jun 13, 2023 that will close this issue
@nukerash
Copy link
Author

Thanks a lot, everything works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants