Error Message accoring whitelist add

CanaryMod related discussions

Error Message accoring whitelist add

Postby cndrbrbr » Thu Sep 17, 2015 10:31 am

Hi there,
I tried different Versions (1.8 and 1.7.10) of the canary mod server.
I need user management.
Should this work?

> /whitelist add zanenrg42
[12:15:54] [CanaryMod] [WARN]: Failed to translate Username into a UUID
[12:15:54] [CanaryMod] [ERROR]: Could not execute command...
java.lang.NullPointerException: 'String key' cannot be null
at net.visualillusionsent.utils.Verify.notNull( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.visualillusionsent.utils.PropertiesFile.setString( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.visualillusionsent.utils.PropertiesFile.setString( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.ToolBox.usernameToUUID( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.user.WhitelistProvider.addPlayer( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.commandsys.commands.system.WhitelistCommand.execute( ~[CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.commandsys.CommandList.whitelistCommand( ~[CanaryMod.jar:1.7.10-1.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke( ~[?:1.7.0_79]
at net.canarymod.commandsys.CommandManager$1.execute( [CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.commandsys.CanaryCommand.parseCommand( [CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.commandsys.CommandManager.parseCommand( [CanaryMod.jar:1.7.10-1.1.0]
at net.canarymod.api.CanaryServer.consoleCommand( [CanaryMod.jar:1.7.10-1.1.0]
at net.minecraft.server.dedicated.DedicatedServer$ [CanaryMod.jar:1.7.10-1.1.0]

Posts: 3
Joined: Mon Sep 07, 2015 2:50 pm

Re: Error Message accoring whitelist add

Postby jamierocks » Thu Sep 17, 2015 5:07 pm

Is Java behind some sort of firewall? If so that's probably why.

A work around is to input the UUID instead, you can use Nodecraft's MCUUID service to get that -
Posts: 20
Joined: Fri Aug 21, 2015 9:06 pm

Re: Error Message accoring whitelist add

Postby mag1 » Wed Dec 02, 2015 3:19 pm

Another workaround is to disable the whitelist, have the player connect, then add then to the whitelist, then enable it again.

wl disable
player x joins
wl add x
wl enable
Posts: 1
Joined: Wed Dec 02, 2015 3:12 pm

Return to Discussions

Who is online

Users browsing this forum: No registered users and 1 guest