Skip to content

Failed to check premium state #1310

@esemeska

Description

@esemeska

What happened?

[08:55:07 INFO]: [FastLogin] New incoming packet START[class=ServerboundHelloPacket, id=0] from UNKNOWN[/95.24.53.229:8217]
[08:55:07 ERROR]: [FastLogin] Failed to check premium state of Wolk7778
java.lang.NullPointerException: null
at FastLoginBukkit.jar/fastlogin.guava.base.Preconditions.checkNotNull(Preconditions.java:903) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/fastlogin.guava.cache.LocalCache.put(LocalCache.java:4242) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.craftapi.cache.MemoryCache.add(MemoryCache.java:54) ~

Steps to reproduce

Caused every second or third offline player trying to login to server

Plugin list

AdvancedBan, AuthMe, Chunky, ChunkyBorder, CoreProtect, CoreProtectTNT, emotecraft, FastLogin, GSit, InventoryRollbackPlus [08:57:32 INFO]: InvSeePlusPlus, Komorebi, LuckPerms, MiniMOTD, packetevents, PlasmoVoice, ProtocolLib, pv-addon-discs, pv-addon-lavaplayer-lib, SayanVanish, simplewhitelist, SkinsRestorer, TAB

Configuration file

https://hastebin.com/share/jadejatelu.yaml

Server log

[08:55:07 INFO]: [FastLogin] New incoming packet START[class=ServerboundHelloPacket, id=0] from UNKNOWN[/95.24.53.229:8217]
[08:55:07 ERROR]: [FastLogin] Failed to check premium state of Wolk7778
java.lang.NullPointerException: null
at FastLoginBukkit.jar/fastlogin.guava.base.Preconditions.checkNotNull(Preconditions.java:903) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/fastlogin.guava.cache.LocalCache.put(LocalCache.java:4242) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.craftapi.cache.MemoryCache.add(MemoryCache.java:54) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.craftapi.resolver.MojangResolver.findProfile(MojangResolver.java:219) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.craftapi.resolver.MojangResolver.findProfile(MojangResolver.java:181) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.fastlogin.core.shared.JoinManagement.performNewPlayerLogin(JoinManagement.java:109) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.fastlogin.core.shared.JoinManagement.onLogin(JoinManagement.java:92) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.fastlogin.bukkit.listener.protocollib.NameCheckTask.run(NameCheckTask.java:73) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.fastlogin.core.scheduler.AbstractAsyncScheduler.process(AbstractAsyncScheduler.java:74) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.fastlogin.core.scheduler.AbstractAsyncScheduler.lambda$runAsync$0(AbstractAsyncScheduler.java:47) ~[FastLoginBukkit.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314) ~[?:?]
at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) ~[?:?]

Plugin version

1.12-SNAPSHOT-927f09a

Platform

Spigot

Relevance

  • I tried the latest build
    (build refers to development builds not necessary a release version; i.e. v1.10 is out of date)

  • I checked for existing tickets -
    If there are, please vote them with a thumbs reaction and not create new ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions