GetContacts throws exception isolating addressBlock
from rawResponse:
String addressBlock = rawResponse.substring
(addressBlockStart, addressBlockEnd -
addressBlockStart);
should be:
String addressBlock = rawResponse.substring(
addressBlockStart, addressBlockEnd);
as substring is begin,end not begin length.