Null pointer exception from policy xpress iterator object