It's not like NPEs are a problem

try {
integrationService = ServiceLocator.lookup(IntegrationService.class, "IntegrationServiceBean");
} catch (final RuntimeException e) {
return null;

This is all running inside a web container. I hope I never have to debug that code.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.