RA Web Service Agent crashes with StringIndexOutOfBoundsException