What could cause java.lang.reflect.InvocationTargetException?
Well, I’ve tried to understand and read what could cause it but I just can’t get it: I have this somewhere in my code: try{ .. m.invoke(testObject); .. } catch(AssertionError e){ … } catch(Exception e){ .. } Thing is that, when it tries to invoke some method it throws InvocationTargetException instead of some other expected … Read more