[PAXWEB-563] - Fixed NullPointerException when registering war with EventAdmin service enabled