Here is a case:
unifi.drivers.Analyze INFO: Instrumenting method socialite.dist.worker.Receiver.run()V
:::: aload_345 ::: 89
???????????????? idx = 3 no.of words : 1 local vars length: 2
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
at unifi.MethodUnits.get_local_var_unit(MethodUnits.java:459)
at unifi.drivers.Instrumenter.instrumentMethod(Instrumenter.java:392)
at unifi.drivers.Instrumenter.instrumentClass(Instrumenter.java:164)
at unifi.drivers.Instrumenter.instrumentJar(Instrumenter.java:90)
at unifi.drivers.Instrumenter.main(Instrumenter.java:506)
Here the problem seems to be different from wrong index value but local_vars array seems to be shorter!