InvocationOperation: Fix NPE when obtaining class name