Bad type on operand stack
LadyCailinBot opened this issue ยท 3 comments
CMDHELPER-2991 - Reported by TheChampTF
[10:21:49 ERROR]: Could not load class 'com.laytonsmith.core.functions.WorldEdit.skcb_load'
[10:21:49 WARN]: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/laytonsmith/core/functions/WorldEdit$skcb_load.exec(Lcom/laytonsmith/core/constructs/Target;Lcom/laytonsmith/core/environments/Environment;[Lcom/laytonsmith/core/constructs/Construct;)Lcom/laytonsmith/core/constructs/Construct; @65: invokevirtual
Reason:
Type 'com/laytonsmith/core/functions/WorldEdit$CHCommandSender' (current frame, stack[1]) is not assignable to 'com/sk89q/worldedit/LocalPlayer'
Current Frame:
bci: @65
flags: { }
locals: { 'com/laytonsmith/core/functions/WorldEdit$skcb_load', 'com/laytonsmith/core/constructs/Target', 'com/laytonsmith/core/environments/Environment', '[Lcom/laytonsmith/core/constructs/Construct;', 'java/lang/String', 'java/io/File' }
stack: { 'com/sk89q/worldedit/WorldEdit', 'com/laytonsmith/core/functions/WorldEdit$CHCommandSender', 'java/io/File', 'java/lang/String', 'java/lang/String', '[Ljava/lang/String;' }
Bytecode:
0000000: 1206 2bb8 0007 2d03 32b6 0008 3a04 2bb8
0000010: 0009 b600 0a2b b800 09b6 000a b600 0bb4
0000020: 000c b600 0d3a 052b b800 09b6 000a 2bb8
0000030: 000e 1905 1904 120f 04bd 0010 5903 120f
0000040: 53b6 0011 3a06 1906 b600 129a 0024 bb00
0000050: 1359 bb00 1459 b700 1512 16b6 0017 1904
0000060: b600 1712 18b6 0017 b600 19b7 001a bf2b
0000070: b800 1b19 06b8 001c 1906 b600 1db6 001e
0000080: a700 3c3a 06bb 0020 5919 06b6 0021 b200
0000090: 032b b700 22bf 3a06 bb00 2059 1906 b600
00000a0: 23b2 0004 2bb7 0022 bf3a 06bb 0020 5919
00000b0: 06b6 0025 b200 042b b700 22bf b200 26b0
00000c0:
Exception Handler Table:
bci [39, 128] => handler: 131
bci [39, 128] => handler: 150
bci [39, 128] => handler: 169
Stackmap Table:
append_frame(@111,Object[#16],Object[#77],Object[#77])
full_frame(@131,{Object[#44],Object[#79],Object[#80],Object[#81],Object[#16],Object[#77]},{Object[#31]})
same_locals_1_stack_item_frame(@150,Object[#19])
same_locals_1_stack_item_frame(@169,Object[#36])
same_frame(@188)
[10:21:49 WARN]: at java.lang.Class.forName0(Native Method)
[10:21:49 WARN]: at java.lang.Class.forName(Class.java:274)
[10:21:49 WARN]: at com.laytonsmith.PureUtilities.Common.ClassUtils.forCanonicalName(ClassUtils.java:132)
[10:21:49 WARN]: at com.laytonsmith.PureUtilities.Common.ClassUtils.forCanonicalName(ClassUtils.java:47)
[10:21:49 WARN]: at com.laytonsmith.PureUtilities.ClassLoading.ClassMirror.ClassReferenceMirror.loadClass(ClassReferenceMirror.java:62)
[10:21:49 WARN]: at com.laytonsmith.PureUtilities.ClassLoading.ClassMirror.ClassMirror.loadClass(ClassMirror.java:434)
[10:21:49 WARN]: at com.laytonsmith.core.extensions.ExtensionManager.Initialize(ExtensionManager.java:460)
[10:21:49 WARN]: at com.laytonsmith.commandhelper.CommandHelperPlugin$5.run(CommandHelperPlugin.java:299)