CommandHelper

CommandHelper

46.5k Downloads

[1.8] Sudo()

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-3002 - Reported by PseudoKnight

[01:24:44] [Server thread/WARN]: [CommandHelper]: Failed to OP player PseudoKnight
[01:24:44] [Server thread/WARN]: Extra information about the error: 
[01:24:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.util.com.mojang.authlib.GameProfile
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91)
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
[01:24:44] [Server thread/WARN]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at java.lang.Class.forName0(Native Method)
[01:24:44] [Server thread/WARN]: 	at java.lang.Class.forName(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.abstraction.bukkit.BukkitMCPlayer.setTempOp(BukkitMCPlayer.java:420)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.functions.Meta$sudo.setOp(Meta.java:281)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.functions.Meta$sudo.exec(Meta.java:223)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.Script.eval(Script.java:353)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1908)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1865)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.Script.run(Script.java:194)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.core.AliasCore.alias(AliasCore.java:169)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:91)
[01:24:44] [Server thread/WARN]: 	at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:140)
[01:24:44] [Server thread/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[01:24:44] [Server thread/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:299)
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509)
[01:24:44] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1075)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:918)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
[01:24:44] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(Unknown Source)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:684)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:625)
[01:24:44] [Server thread/WARN]: 	at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:528)
[01:24:44] [Server thread/WARN]: 	at java.lang.Thread.run(Unknown Source)
[01:24:44] [Server thread/ERROR]: Uh oh! You've found an error in Core.
This is an error caused while running your code, so you may be able to find a workaround, but is ultimately an error in Core itself.
The line of code that caused the error was this:
sudo('/jumpto')
on or around D:\Desktop\Servers\1_8\plugins\CommandHelper\aliases.msa:13.
Please report this error to the developers, and be sure to include the version numbers:
Server version: 1.8-R0.1-SNAPSHOT;
CommandHelper version: 3.3.1-SNAPSHOT;
Loaded extensions and versions:
Core (version 3.3.1);
CHSpigot (version 1.2.3);
CHDynmap (version 1.1.0);
CHVirtualChests (version 1.0.2);
Here's the stacktrace:
java.lang.ClassCastException: com.sun.proxy.$Proxy42 cannot be cast to com.laytonsmith.abstraction.bukkit.BukkitMCCommandSender
	at com.laytonsmith.abstraction.bukkit.BukkitMCServer.dispatchCommand(BukkitMCServer.java:124)
	at com.laytonsmith.core.functions.Meta$sudo.exec(Meta.java:227)
	at com.laytonsmith.core.Script.eval(Script.java:353)
	at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1908)
	at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1865)
	at com.laytonsmith.core.Script.run(Script.java:194)
	at com.laytonsmith.core.AliasCore.alias(AliasCore.java:169)
	at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:91)
	at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:299)
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509)
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494)
	at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1075)
	at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:918)
	at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
	at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
	at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:684)
	at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
	at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:625)
	at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:528)
	at java.lang.Thread.run(Unknown Source)```
commented

Comment by LadyCailin

Fixed