ISPN-4705 IllegalArgumentException: Segments must not be null or empty