Fixed NPE if application delegate cannot be loaded from application
extension points.