CommandHelper

CommandHelper

46.5k Downloads

Class loading failure

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-3003 - Reported by wesley27

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

Comment by LadyCailin

This is caused by CH not yet being compatible with WG 6. It will still function in general, but you can't use the sk_ functions.