fixes NPE which occurred if Spoon couldn't load the method of an invocation