Failed to check premium state
What happened?
[17:30:27] [Protocol Worker #1 - FastLogin - [recv: ENCRYPTION_BEGIN[class=ServerboundKeyPacket, id=1], START[class=ServerboundHelloPacket, id=0], send: ]/INFO]: [FastLogin] New incoming packet START[class=ServerboundHelloPacket, id=0] from UNKNOWN[/45.148.10.134:56162]
[17:30:27] [/INFO]: [FastLogin] [STDOUT] Parsed Profile{id=null, name='null'}
[17:30:27] [/WARN]: Nag author(s): '[games647, https://github.com/games647/FastLogin/graphs/contributors]' of 'FastLogin v1.12-SNAPSHOT-65a379c' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[17:30:27] [/INFO]: [FastLogin] [STDOUT] Warning UUID is null - Cannot add to cache Profile{id=null, name='null'}
[17:30:27] [/ERROR]: [FastLogin] Failed to check premium state of MCScans
java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because the return value of "com.github.games647.craftapi.model.Profile.getName()" is null
at FastLoginBukkit.jar/com.github.games647.craftapi.cache.MemoryCache.add(MemoryCache.java:60) ~[FastLoginBukkit.jar:?]
at FastLoginBukkit.jar/com.github.games647.craftapi.resolver.MojangResolver.findProfile(MojangResolver.java:220) ~[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:329) ~[?:?]
[17:30:28] [User Authenticator #0/INFO]: UUID of player MCScans is 741dd650-0e0e-3eee-9b33-20726b56e524
Steps to reproduce
No response
Plugin list
FancyHolograms, FancyNpcs, HuskHomes, PerfoBooster, AdminCommands, AntiCrasher, AuthMe, AxGraves, AxiomPaper, AxTrade, ChestSort, Chunky, CommandWhitelist, ConnectionGuard, F3NPerm, FastAsyncWorldEdit, FastLogin, InvSeePlusPlus, LandClaimPlugin, LetUrMemoryRest, LuckPerms, PasiVanish, PlaceholderAPI, ProtocolLib, SkBee, SkinsRestorer, SkJson, Skript, skript-placeholders, TAB, Terra, Vault, WorldGuard
Configuration file
No response
Server log
No response
Plugin version
? downloaded Jul 8th, 2025 2:24PM
Platform
Spigot
Relevance
-
[x] I tried the latest build (build refers to development builds not necessary a release version; i.e. v1.10 is out of date)
-
[x] I checked for existing tickets - If there are, please vote them with a thumbs reaction and not create new ones
EDIT: Forget it, found the username.
Could you post the username of that user? It's from an unexpected response from Mojang, but I couldn't find the cause of it yet.
Found the source of this bug with the help of your post. I'm uploading a new version now.
Reference: https://github.com/TuxCoding/CraftAPI/commit/ddead3e7ad0d42f8c34c430f588d52cf13bb7f2b