java.lang.VerifyError: Inconsistent stackmap frames at branch target 147 Exception Details: Location: coursier/Cache$.validateChecksum(Lcoursier/core/Artifact;Ljava/lang/String;Ljava/io/File;Ljava/util/concurrent/ExecutorService;)Lscalaz/EitherT; @147: new Reason: Type uninitialized 33 (current frame, stack[0]) is not assignable to 'scalaz/EitherT' (stack map, stack[0]) Current Frame: bci: @108 flags: { } locals: { top, top, 'java/lang/String', top, top, top, 'coursier/core/Artifact', 'scala/Option' } stack: { uninitialized 33, uninitialized 33, integer } Stackmap Frame: bci: @147 flags: { } locals: { top, top, top, top, top, top, top, 'scala/Option' } stack: { 'scalaz/EitherT', 'scalaz/EitherT' } Bytecode: 0x0000000: 1904 3a05 2a2b 2db6 00de b601 3112 24bb 0x0000010: 0033 592b b701 00b9 01b8 0300 c000 653a 0x0000020: 06bb 00a9 5919 06b6 012b 2cb9 01b7 0200 0x0000030: 3a07 1907 c100 8d99 002d 1907 c000 8d3a 0x0000040: 0819 08b6 017c c000 723a 09b2 00d8 bb00 0x0000050: 5759 2c19 0619 09b7 0124 1905 b601 a13a 0x0000060: 0aa7 002c b200 cb19 07b6 0150 9900 27b2 0x0000070: 00d8 b200 d6bb 005f 592c 1906 b601 32b7 0x0000080: 0125 b601 9db6 01a4 b601 a23a 0a19 0ab7 0x0000090: 0198 b0bb 0085 5919 07b7 0168 bf Stackmap Table: full_frame(@100,{Top,Top,Object[#114],Top,Top,Top,Object[#101],Object[#135]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@141,{Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#175]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@147,{Top,Top,Top,Top,Top,Top,Top,Object[#135]},{Object[#169],Object[#169]})

proguard | pyramex | 8 months ago
  1. 0

    Inconsistent stackmap frames at branch target 147

    proguard | 8 months ago | pyramex
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 147 Exception Details: Location: coursier/Cache$.validateChecksum(Lcoursier/core/Artifact;Ljava/lang/String;Ljava/io/File;Ljava/util/concurrent/ExecutorService;)Lscalaz/EitherT; @147: new Reason: Type uninitialized 33 (current frame, stack[0]) is not assignable to 'scalaz/EitherT' (stack map, stack[0]) Current Frame: bci: @108 flags: { } locals: { top, top, 'java/lang/String', top, top, top, 'coursier/core/Artifact', 'scala/Option' } stack: { uninitialized 33, uninitialized 33, integer } Stackmap Frame: bci: @147 flags: { } locals: { top, top, top, top, top, top, top, 'scala/Option' } stack: { 'scalaz/EitherT', 'scalaz/EitherT' } Bytecode: 0x0000000: 1904 3a05 2a2b 2db6 00de b601 3112 24bb 0x0000010: 0033 592b b701 00b9 01b8 0300 c000 653a 0x0000020: 06bb 00a9 5919 06b6 012b 2cb9 01b7 0200 0x0000030: 3a07 1907 c100 8d99 002d 1907 c000 8d3a 0x0000040: 0819 08b6 017c c000 723a 09b2 00d8 bb00 0x0000050: 5759 2c19 0619 09b7 0124 1905 b601 a13a 0x0000060: 0aa7 002c b200 cb19 07b6 0150 9900 27b2 0x0000070: 00d8 b200 d6bb 005f 592c 1906 b601 32b7 0x0000080: 0125 b601 9db6 01a4 b601 a23a 0a19 0ab7 0x0000090: 0198 b0bb 0085 5919 07b7 0168 bf Stackmap Table: full_frame(@100,{Top,Top,Object[#114],Top,Top,Top,Object[#101],Object[#135]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@141,{Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#175]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@147,{Top,Top,Top,Top,Top,Top,Top,Object[#135]},{Object[#169],Object[#169]})
  2. 0

    GitHub comment 69#172379730

    GitHub | 11 months ago | alexarchambault
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 132 Exception Details: Location: coursier/Cache$.validateChecksum$67367a85(Lcoursier/core/Artifact;Ljava/lang/String;Lscala/collection/GenSeq;Ljava/util/concurrent/ExecutorService;)Lscalaz/EitherT; @132: new Reason: Type uninitialized 32 (current frame, stack[0]) is not assignable to 'scalaz/EitherT' (stack map, stack[0]) Current Frame: bci: @97 flags: { } locals: { top, 'coursier/core/Artifact', 'java/lang/String', 'scala/Option' } stack: { uninitialized 32, uninitialized 32, integer } Stackmap Frame: bci: @132 flags: { } locals: { top, top, top, 'scala/Option' } stack: { 'scalaz/EitherT', 'scalaz/EitherT' } Bytecode: 0x0000000: 1904 3a04 2a2b 2db7 0092 b600 b512 16bb 0x0000010: 0021 592b b700 96b9 0117 0300 c000 3b4c 0x0000020: bb00 7059 2bb6 00af 2cb9 0116 0200 594e 0x0000030: c100 5899 0027 2dc0 0058 594e b600 eec0 0x0000040: 0046 4eb2 0089 57bb 0035 592c 2b2d b700 0x0000050: aa19 04b8 0105 4ca7 0028 b200 812d b600 0x0000060: d599 0023 b200 8957 bb00 6f59 bb00 3759 0x0000070: 2c2b b600 b6b7 00ab b701 00b8 0106 4c2b 0x0000080: b701 01b0 bb00 5359 2db7 00e3 bf Stackmap Table: full_frame(@90,{Top,Object[#59],Object[#70],Object[#85]},{Uninitialized[#32],Uninitialized[#32]}) full_frame(@127,{Top,Object[#115]},{Uninitialized[#32],Uninitialized[#32]}) full_frame(@132,{Top,Top,Top,Object[#85]},{Object[#112],Object[#112]})
  3. 0

    GitHub comment 146#169067667

    GitHub | 11 months ago | jkbbwr
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Runs fine with "./coursier" but not with "java -jar coursier"

    GitHub | 10 months ago | hedefalk
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 235 Exception Details: Location: coursier/a/bf.c_(Ljava/lang/Object;)Ljava/lang/Object; @235: new Reason: Type uninitialized 150 (current frame, stack[1]) is not assignable to 'c/aw' (stack map, stack[1]) Current Frame: bci: @215 flags: { } locals: { top, 'c/C', 'c/b/d/bJ' } stack: { 'java/lang/Object', uninitialized 150, uninitialized 150, 'c/C', integer } Stackmap Frame: bci: @235 flags: { } locals: { top, 'c/C' } stack: { 'java/lang/Object', 'c/aw', 'c/aw', 'c/C' } Bytecode: 0x0000000: 2a2b c000 074d 4c2c 594d c601 6f2c b600 0x0000010: 25c0 000e 4e2c b600 26c0 000a 4db2 001c 0x0000020: 57b2 001b 572d b800 202b b400 1f2d b900 0x0000030: 3602 004c b200 1a2b b600 3499 00b9 2c04 0x0000040: 3e59 4cb6 0028 1d64 9a00 26bb 0007 59bb 0x0000050: 0006 592c b600 29c0 0014 b600 31b7 0022 0x0000060: bb00 1659 2cb7 0032 b700 24a7 007c 2cbb 0x0000070: 0011 59b7 002e b200 1d59 4cb6 002a b600 0x0000080: 27c0 0008 b900 3501 00c0 000a 4cb2 001e 0x0000090: 572b b800 2d4c bb00 0759 2b2b 594c c100 0x00000a0: 0699 002f 2bc0 0006 594c b600 23c0 0019 0x00000b0: 4cbb 0016 592c bb00 1259 2bb7 002f b200 0x00000c0: 1d59 4cb6 002a b600 27b7 0032 4ca7 0016 0x00000d0: b200 1a2b b600 3499 0014 bb00 1759 2cb7 0x00000e0: 0033 4c2b b700 244c a700 4bbb 000d 592b 0x00000f0: b700 2cbf 2bc1 0006 9900 782b c000 0659 0x0000100: 4cb6 0023 c000 194c bb00 0759 bb00 0659 0x0000110: 2bb7 0022 bb00 1659 2cbb 0013 592b b700 0x0000120: 30b2 001d 594c b600 2ab6 0027 b700 32b7 0x0000130: 0024 4c2b 594c b600 25c0 0002 4d2b b600 0x0000140: 26c0 0015 4cbb 0007 592c 2bb7 0024 594c 0x0000150: 594c b600 25c0 0002 4d2b b600 26c0 0015 0x0000160: 4cbb 0007 592b 2cb7 0024 b800 2159 4cb0 0x0000170: bb00 0d59 2bb7 002c bfbb 000d 592c b700 0x0000180: 2cbf Stackmap Table: full_frame(@110,{Top,Top,Object[#10]},{Object[#24]}) full_frame(@208,{Top,Object[#2],Object[#10]},{Object[#24],Uninitialized[#150],Uninitialized[#150],Object[#2]}) full_frame(@227,{Top,Object[#21]},{Object[#24],Uninitialized[#150],Uninitialized[#150],Object[#2]}) full_frame(@231,{},{Object[#24],Object[#7]}) full_frame(@235,{Top,Object[#2]},{Object[#24],Object[#7],Object[#7],Object[#2]}) full_frame(@244,{Top,Object[#2],Object[#10]},{Object[#24]}) full_frame(@307,{Top,Object[#7]},{Object[#24]}) full_frame(@368,{Top,Object[#2]},{Object[#24]}) full_frame(@377,{Top,Top,Object[#7]},{})
  6. 0

    {code:java} package com.company; import javassist.ClassPool; import javassist.CtClass; import javassist.CtMethod; public class Main { public static void main(String[] args) { CtClass badClass = ClassPool.getDefault().makeClass("badClass"); String src = String.join(System.getProperty("line.separator"), "public void eval () {", " if (true) {", " double t=0;", " } else {", " double t=0;", " }", " for (int i=0; i < 2; i++) {", " int a=0;", " int b=0;", " int c=0;", " int d=0;", " if (true) {", " int e = 0;", " }", " }", "}"); System.out.println(src); try { badClass.addMethod(CtMethod.make(src, badClass)); Class clazzz = badClass.toClass(); Object obj = clazzz.newInstance(); // <-- falls here } catch (Exception e) { e.printStackTrace(); } } } {code} After running that i get output: {noformat} public void eval () { if (true) { double t=0; } else { double t=0; } for (int i=0; i < 2; i++) { int a=0; int b=0; int c=0; int d=0; if (true) { int e = 0; } } } Exception in thread "main" java.lang.VerifyError: Inconsistent stackmap frames at branch target 41 Exception Details: Location: badClass.eval()V @41: iinc Reason: Type top (current frame, locals[4]) is not assignable to integer (stack map, locals[4]) Current Frame: bci: @35 flags: { } locals: { 'badClass', top, top, top, top, integer, integer, integer, integer, integer } stack: { integer } Stackmap Frame: bci: @41 flags: { } locals: { 'badClass', top, top, top, integer, integer, integer, integer, integer } stack: { } Bytecode: 0x0000000: 0499 0009 0387 48a7 0006 0387 4a03 3605 0x0000010: 1505 05a2 001c 0336 0603 3607 0336 0803 0x0000020: 3609 0499 0006 0336 0a84 0501 a7ff e4b1 0x0000030: Stackmap Table: same_frame(@10) same_frame(@13) full_frame(@16,{Object[#2],Top,Top,Top,Top,Integer},{}) full_frame(@41,{Object[#2],Top,Top,Top,Integer,Integer,Integer,Integer,Integer},{}) full_frame(@47,{Object[#2],Top,Top,Top,Top,Integer},{}) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.newInstance(Class.java:412) at com.company.Main.main(Main.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Process finished with exit code 1 {noformat}

    JBoss Issue Tracker | 8 months ago | Alexey Kuznetsov
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 41 Exception Details: Location: badClass.eval()V @41: iinc Reason: Type top (current frame, locals[4]) is not assignable to integer (stack map, locals[4]) Current Frame: bci: @35 flags: { } locals: { 'badClass', top, top, top, top, integer, integer, integer, integer, integer } stack: { integer } Stackmap Frame: bci: @41 flags: { } locals: { 'badClass', top, top, top, integer, integer, integer, integer, integer } stack: { } Bytecode: 0x0000000: 0499 0009 0387 48a7 0006 0387 4a03 3605 0x0000010: 1505 05a2 001c 0336 0603 3607 0336 0803 0x0000020: 3609 0499 0006 0336 0a84 0501 a7ff e4b1 0x0000030: Stackmap Table: same_frame(@10) same_frame(@13) full_frame(@16,{Object[#2],Top,Top,Top,Top,Integer},{}) full_frame(@41,{Object[#2],Top,Top,Top,Integer,Integer,Integer,Integer,Integer},{}) full_frame(@47,{Object[#2],Top,Top,Top,Top,Integer},{})

    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

      Inconsistent stackmap frames at branch target 147 Exception Details: Location: coursier/Cache$.validateChecksum(Lcoursier/core/Artifact;Ljava/lang/String;Ljava/io/File;Ljava/util/concurrent/ExecutorService;)Lscalaz/EitherT; @147: new Reason: Type uninitialized 33 (current frame, stack[0]) is not assignable to 'scalaz/EitherT' (stack map, stack[0]) Current Frame: bci: @108 flags: { } locals: { top, top, 'java/lang/String', top, top, top, 'coursier/core/Artifact', 'scala/Option' } stack: { uninitialized 33, uninitialized 33, integer } Stackmap Frame: bci: @147 flags: { } locals: { top, top, top, top, top, top, top, 'scala/Option' } stack: { 'scalaz/EitherT', 'scalaz/EitherT' } Bytecode: 0x0000000: 1904 3a05 2a2b 2db6 00de b601 3112 24bb 0x0000010: 0033 592b b701 00b9 01b8 0300 c000 653a 0x0000020: 06bb 00a9 5919 06b6 012b 2cb9 01b7 0200 0x0000030: 3a07 1907 c100 8d99 002d 1907 c000 8d3a 0x0000040: 0819 08b6 017c c000 723a 09b2 00d8 bb00 0x0000050: 5759 2c19 0619 09b7 0124 1905 b601 a13a 0x0000060: 0aa7 002c b200 cb19 07b6 0150 9900 27b2 0x0000070: 00d8 b200 d6bb 005f 592c 1906 b601 32b7 0x0000080: 0125 b601 9db6 01a4 b601 a23a 0a19 0ab7 0x0000090: 0198 b0bb 0085 5919 07b7 0168 bf Stackmap Table: full_frame(@100,{Top,Top,Object[#114],Top,Top,Top,Object[#101],Object[#135]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@141,{Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#175]},{Uninitialized[#33],Uninitialized[#33]}) full_frame(@147,{Top,Top,Top,Top,Top,Top,Top,Object[#135]},{Object[#169],Object[#169]})

      at com.outr.jefe.repo.Ivy2$Local$.<init>()
    2. com.outr.jefe
      Runner$delayedInit$body.apply
      1. com.outr.jefe.repo.Ivy2$Local$.<init>(Ivy2.scala:11)
      2. com.outr.jefe.repo.Ivy2$Local$.<clinit>(Ivy2.scala)
      3. com.outr.jefe.runner.Repositories.list$lzycompute(Configuration.scala:45)
      4. com.outr.jefe.runner.Repositories.list(Configuration.scala:43)
      5. com.outr.jefe.runner.Runner$.start(Runner.scala:27)
      6. com.outr.jefe.runner.Runner$.delayedEndpoint$com$outr$jefe$runner$Runner$1(Runner.scala:11)
      7. com.outr.jefe.runner.Runner$delayedInit$body.apply(Runner.scala:9)
      7 frames
    3. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      5. scala.collection.immutable.List.foreach(List.scala:381)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      7. scala.App$class.main(App.scala:76)
      7 frames
    4. com.outr.jefe
      Runner.main
      1. com.outr.jefe.runner.Runner$.main(Runner.scala:9)
      2. com.outr.jefe.runner.Runner.main(Runner.scala)
      2 frames