SpoutDev/Spout — Issue #1170: cloak bug and crash?
Author: finallove2
Created: 2011-12-08 00:53:56+00:00
State: open

// problem source line
// url is String = cloak image address;
// event is onPlayerJoin.
SpoutManager.getAppearanceManager().setGlobalCloak(event.getPlayer(), url);

// error message
2011-12-08 00:40:23 [WARNING] Task of 'SpoutPlayers' generated an exception
java.lang.NullPointerException
at org.getspout.spout.player.SimpleAppearanceManager.setPlayerCloak(SimpleAppearanceManager.java:48)
at chicmin.com.SpoutPlayers.SpoutPlayerThread.run(SpoutPlayerThread.java:24)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)