You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure under what circumstances this occurs, and couldn't get an easy-to-reproduce case, but I was decompiling something produced by the clojure compiler (one of the init classes for a namespace, I think), and got an NPE on this line.
The javadoc for IExceptionTableEntry says "Returns the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler"; which is a bit confusing, but I think it might mean "this is the case for an exception handler with catch-type "any"", which is the exact string printed by javap -c for this class.
So this is my workaround, but I'm not a dentist so I can't say confidently that it's correct:
I'm not sure under what circumstances this occurs, and couldn't get an easy-to-reproduce case, but I was decompiling something produced by the clojure compiler (one of the init classes for a namespace, I think), and got an NPE on this line.
The javadoc for IExceptionTableEntry says "Returns the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler"; which is a bit confusing, but I think it might mean "this is the case for an exception handler with catch-type "any"", which is the exact string printed by
javap -c
for this class.So this is my workaround, but I'm not a dentist so I can't say confidently that it's correct:
The text was updated successfully, but these errors were encountered: