Moving the null checking of ProcessLifecycle.java to ServiceAction.java