java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory.createComponent(Ljava/io/InputStream;)Lcom/basistech/rosette/osgi/RosetteComponent; @27: invokevirtual Reason: Type 'com/basistech/rosette/dm/EnumModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Module' Current Frame: bci: @27 flags: { } locals: { 'com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory', 'java/io/InputStream', top, 'com/fasterxml/jackson/databind/ObjectMapper' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/basistech/rosette/dm/EnumModule' } Bytecode: 0000000: 2bc6 0039 bb00 0759 bb00 0859 b700 09b7 0000010: 000a 4e2d bb00 0b59 b700 0cb6 000d 572d 0000020: 2b13 000e b600 0fc0 0010 4d2c 2ab4 0004 0000030: b800 11b6 0012 57a7 0012 bb00 1059 2ab4 0000040: 0004 b800 11b7 0013 4da7 000f 4ebb 0015 0000050: 5912 162d b700 17bf 2c2a b400 06b6 0018 0000060: 57bb 0019 592a 2cb7 001a b0 Exception Handler Table: bci [0, 73] => handler: 76 Stackmap Table: same_frame(@58) append_frame(@73,Object[#60]) full_frame(@76,{Object[#61],Object[#62]},{Object[#63]}) append_frame(@88,Object[#60])

felix-users | Benson Margulies | 2 years ago
  1. 0

    Same code in bundle and system bundle results in verify error

    felix-users | 2 years ago | Benson Margulies
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory.createComponent(Ljava/io/InputStream;)Lcom/basistech/rosette/osgi/RosetteComponent; @27: invokevirtual Reason: Type 'com/basistech/rosette/dm/EnumModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Module' Current Frame: bci: @27 flags: { } locals: { 'com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory', 'java/io/InputStream', top, 'com/fasterxml/jackson/databind/ObjectMapper' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/basistech/rosette/dm/EnumModule' } Bytecode: 0000000: 2bc6 0039 bb00 0759 bb00 0859 b700 09b7 0000010: 000a 4e2d bb00 0b59 b700 0cb6 000d 572d 0000020: 2b13 000e b600 0fc0 0010 4d2c 2ab4 0004 0000030: b800 11b6 0012 57a7 0012 bb00 1059 2ab4 0000040: 0004 b800 11b7 0013 4da7 000f 4ebb 0015 0000050: 5912 162d b700 17bf 2c2a b400 06b6 0018 0000060: 57bb 0019 592a 2cb7 001a b0 Exception Handler Table: bci [0, 73] => handler: 76 Stackmap Table: same_frame(@58) append_frame(@73,Object[#60]) full_frame(@76,{Object[#61],Object[#62]},{Object[#63]}) append_frame(@88,Object[#60])
  2. 0

    Same code in bundle and system bundle results in verify error

    felix-users | 2 years ago | Benson Margulies
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory.createComponent(Ljava/io/InputStream;)Lcom/basistech/rosette/osgi/RosetteComponent; @27: invokevirtual Reason: Type 'com/basistech/rosette/dm/EnumModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Module' Current Frame: bci: @27 flags: { } locals: { 'com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory', 'java/io/InputStream', top, 'com/fasterxml/jackson/databind/ObjectMapper' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/basistech/rosette/dm/EnumModule' } Bytecode: 0000000: 2bc6 0039 bb00 0759 bb00 0859 b700 09b7 0000010: 000a 4e2d bb00 0b59 b700 0cb6 000d 572d 0000020: 2b13 000e b600 0fc0 0010 4d2c 2ab4 0004 0000030: b800 11b6 0012 57a7 0012 bb00 1059 2ab4 0000040: 0004 b800 11b7 0013 4da7 000f 4ebb 0015 0000050: 5912 162d b700 17bf 2c2a b400 06b6 0018 0000060: 57bb 0019 592a 2cb7 001a b0 Exception Handler Table: bci [0, 73] => handler: 76 Stackmap Table: same_frame(@58) append_frame(@73,Object[#60]) full_frame(@76,{Object[#61],Object[#62]},{Object[#63]}) append_frame(@88,Object[#60])
  3. 0

    Same code in bundle and system bundle results in verify error

    apache.org | 1 year ago
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory.createComponent(Ljava/io/InputStream;)Lcom/basistech/rosette/osgi/RosetteComponent; @27: invokevirtual Reason: Type 'com/basistech/rosette/dm/EnumModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Module' Current Frame: bci: @27 flags: { } locals: { 'com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory', 'java/io/InputStream', top, 'com/fasterxml/jackson/databind/ObjectMapper' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/basistech/rosette/dm/EnumModule' } Bytecode: 0000000: 2bc6 0039 bb00 0759 bb00 0859 b700 09b7 0000010: 000a 4e2d bb00 0b59 b700 0cb6 000d 572d 0000020: 2b13 000e b600 0fc0 0010 4d2c 2ab4 0004 0000030: b800 11b6 0012 57a7 0012 bb00 1059 2ab4 0000040: 0004 b800 11b7 0013 4da7 000f 4ebb 0015 0000050: 5912 162d b700 17bf 2c2a b400 06b6 0018 0000060: 57bb 0019 592a 2cb7 001a b0 Exception Handler Table: bci [0, 73] => handler: 76 Stackmap Table: same_frame(@58) append_frame(@73,Object[#60]) full_frame(@76,{Object[#61],Object[#62]},{Object[#63]}) append_frame(@88,Object[#60]) at com.basistech.rlije.osgi.impl.RliServiceFactory.factory(RliServiceFactory.java:174) at com.basistech.rlije.osgi.impl.RliServiceFactory.access$000(RliServiceFactory.java:53) at com.basistech.rlije.osgi.impl.RliServiceFactory$1.createFactory(RliServiceFactory.java:92)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.VerifyError: Bad type on operand stack

    GitHub | 2 years ago | slmnhq
    play.api.PlayException: Cannot load plugin[Plugin [com.typesafe.plugin.RedisPlugin] cannot be instantiated.]
  6. 0

    GitHub comment 78#157854721

    GitHub | 1 year ago | krasa
    java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: krasa/formatter/core/eclipse/JavaCodeFormatterDispatcher.newCodeFormatter()Lkrasa/formatter/common/eclipse/JavaCodeFormatter; @23: putfield Reason: Type 'krasa/formatter/eclipse44/JavaCodeFormatter44' (current frame, stack[1]) is not assignable to 'krasa/formatter/common/eclipse/JavaCodeFormatter' Current Frame: bci: @23 flags: { } locals: { 'krasa/formatter/core/eclipse/JavaCodeFormatterDispatcher' } stack: { 'krasa/formatter/core/eclipse/JavaCodeFormatterDispatcher', 'krasa/formatter/eclipse44/JavaCodeFormatter44' } Bytecode: 0x0000000: 2ab4 0003 9900 192a bb00 0759 2ab4 0002 0x0000010: 2ab4 0004 b700 08b5 0005 a700 3b12 09b8 0x0000020: 000a 9900 192a bb00 0b59 2ab4 0002 2ab4 0x0000030: 0004 b700 0cb5 0005 a700 1d2a bb00 0759 0x0000040: 2ab4 0002 2ab4 0004 b700 08b5 0005 2ab4 0x0000050: 0004 b800 0da7 000d 4cbb 000f 592b b700 0x0000060: 10bf 2ab4 0005 b0 Exception Handler Table: bci [0, 85] => handler: 88 Stackmap Table: same_frame(@29) same_frame(@59) same_frame(@85) same_locals_1_stack_item_frame(@88,Object[#50]) same_frame(@98)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VerifyError

      Bad type on operand stack Exception Details: Location: com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory.createComponent(Ljava/io/InputStream;)Lcom/basistech/rosette/osgi/RosetteComponent; @27: invokevirtual Reason: Type 'com/basistech/rosette/dm/EnumModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Module' Current Frame: bci: @27 flags: { } locals: { 'com/basistech/rlije/osgi/impl/RliServiceFactory$RliComponentFactory', 'java/io/InputStream', top, 'com/fasterxml/jackson/databind/ObjectMapper' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/basistech/rosette/dm/EnumModule' } Bytecode: 0000000: 2bc6 0039 bb00 0759 bb00 0859 b700 09b7 0000010: 000a 4e2d bb00 0b59 b700 0cb6 000d 572d 0000020: 2b13 000e b600 0fc0 0010 4d2c 2ab4 0004 0000030: b800 11b6 0012 57a7 0012 bb00 1059 2ab4 0000040: 0004 b800 11b7 0013 4da7 000f 4ebb 0015 0000050: 5912 162d b700 17bf 2c2a b400 06b6 0018 0000060: 57bb 0019 592a 2cb7 001a b0 Exception Handler Table: bci [0, 73] => handler: 76 Stackmap Table: same_frame(@58) append_frame(@73,Object[#60]) full_frame(@76,{Object[#61],Object[#62]},{Object[#63]}) append_frame(@88,Object[#60])

      at com.basistech.rlije.osgi.impl.RliServiceFactory.factory()
    2. com.basistech.rlije
      RliServiceFactory$1.createFactory
      1. com.basistech.rlije.osgi.impl.RliServiceFactory.factory(RliServiceFactory.java:174)
      2. com.basistech.rlije.osgi.impl.RliServiceFactory.access$000(RliServiceFactory.java:53)
      3. com.basistech.rlije.osgi.impl.RliServiceFactory$1.createFactory(RliServiceFactory.java:92)
      3 frames
    3. com.basistech.osgi
      RosetteOsgi.main
      1. com.basistech.osgi.tools.AnnotateCommand.run(AnnotateCommand.java:112)
      2. com.basistech.osgi.tools.Subcommand.perform(Subcommand.java:47)
      3. com.basistech.osgi.tools.RosetteOsgi.doMain(RosetteOsgi.java:168)
      4. com.basistech.osgi.tools.RosetteOsgi.main(RosetteOsgi.java:118)
      4 frames