Fixed null pointer when the intercepted method has no parameters