It's not like NPEs are a problem


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

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

Leave a comment