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

    WildFly Jackosn 2

    Stack Overflow | 6 days ago | LeshaRB
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: by/services/rest/provider/ConfiguredRESTProvider.<init>()V @40: invokestatic Reason: Type 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/AnnotationIntrospector' Current Frame: bci: @40 flags: { } locals: { 'by/services/rest/provider/ConfiguredRESTProvider', 'com/fasterxml/jackson/databind/introspect/JacksonAnnotationIntrospector', 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector' } stack: { 'com/fasterxml/jackson/databind/introspect/JacksonAnnotationIntrospector', 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector' } Bytecode: 0x0000000: 2ab7 0001 2abb 0002 59b7 0003 b500 04bb 0x0000010: 0005 59b7 0006 4cbb 0007 592a b400 04b6 0x0000020: 0008 b700 094d 2b2c b800 0a4e 2ab4 0004 0x0000030: 2db6 000b 572a b400 04b2 000c 04b6 000d 0x0000040: 572a b400 04b2 000e 04b6 000d 572a b400 0x0000050: 04b2 000f 04b6 0010 572a b400 04b2 0011 0x0000060: 03b6 0012 572a b400 04b2 0013 b600 1457 0x0000070: b1
  6. 0

    Getting Bad type on operand stack when calling Camel-jackson API

    Stack Overflow | 1 week ago | Sstest
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/camel/component/jackson/JacksonDataFormat.doStart()V @31: invokevirtual Reason: Type 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationModule' (current frame, stack[1]) is not assignable to 'com/fasterxml/jackson/databind/Modul e' Current Frame: bci: @31 flags: { } locals: { 'org/apache/camel/component/jackson/JacksonDataFormat', 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationModule' } stack: { 'com/fasterxml/jackson/databind/ObjectMapper', 'com/fasterxml/jackson/module/jaxb/JaxbAnnotationModule' } Bytecode: 0x0000000: 2ab4 000b 9900 1fbb 0034 59b7 0035 4cb2 ....

    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