java.lang.VerifyError: Bad type on operand stack in method Mana.main([Ljava/lang/String;)V at offset 9

Coderanch | Ritesh raushan | 4 years ago
  1. 0

    exception generate java.lang.verifyerror

    Coderanch | 4 years ago | Ritesh raushan
    java.lang.VerifyError: Bad type on operand stack in method Mana.main([Ljava/lang/String;)V at offset 9
  2. 0

    Java: Using the 'this' keyword in conjunction with enum attributes produces errors and compiles fine w/o changes. Is this a bug?

    Stack Overflow | 4 years ago | Tony DiNitto
    java.lang.VerifyError: Constructor must call super() or this() before return in method moreEnum.<init>(Ljava/lang/String;ILjava/lang/String;)V at offset 0
  3. 0

    jrat - java profiling fails

    Stack Overflow | 5 years ago | djechlin
    java.lang.VerifyError: Expecting a stackmap frame at branch target 35 in method hello.hello.main([Ljava/lang/String;)V at offset 14
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    my java is broken !

    Google Groups | 5 years ago | bilsch
    java.lang.VerifyError: Constructor must call super() or this() before return in method Nvr1.<init>()V at offset 0
  6. 0

    Tomcat8 + JDK8 - Exception in thread "main" java.lang.VerifyError

    GitHub | 2 years ago | cougil
    java.lang.VerifyError: Expecting a stackmap frame at branch target 64 Exception Details: Location: org/apache/catalina/startup/Bootstrap.<clinit>()V @37: ifnull Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 1202 b801 bbb3 0046 01b3 0159 1301 bdb8 0x0000010: 01c1 b301 8f13 01c3 b800 d54b 12cc b800 0x0000020: d54c 014d 2bc6 001b bb01 8159 2bb7 01c4 0x0000030: 4e2d b601 c74d a700 0a3a 042d b601 ca4d 0x0000040: 2cc7 0034 bb01 8159 2a13 01cc b701 cf4e 0x0000050: 2db6 01d2 9900 21bb 0181 592a 1301 d4b7 0x0000060: 01cf 3a04 1904 b601 c74d a700 0b3a 0519 0x0000070: 04b6 01ca 4d2c c700 1bbb 0181 592a b701 0x0000080: c44e 2db6 01c7 4da7 000a 3a04 2db6 01ca 0x0000090: 4d2c b301 7f12 ccb2 017f b601 84b8 01d8 0x00000a0: 5712 d1b8 00d5 4e2d c700 0cb2 017f b301 0x00000b0: 86a7 0025 bb01 8159 2db7 01c4 3a04 1904 0x00000c0: b601 c73a 04a7 000c 3a05 1904 b601 ca3a 0x00000d0: 0419 04b3 0186 12d1 b201 86b6 0184 b801 0x00000e0: d857 b1 Exception Handler Table: bci [49, 54] => handler: 57 bci [100, 106] => handler: 109 bci [130, 135] => handler: 138 bci [190, 197] => handler: 200

    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 in method Mana.main([Ljava/lang/String;)V at offset 9

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      LauncherHelper.checkAndLoadMain
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
      3. java.lang.Class.getMethod0(Class.java:2685)
      4. java.lang.Class.getMethod(Class.java:1620)
      5. sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:488)
      6. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:480)
      6 frames