NPE during deploy solved.