StringIndexOutOfBoundsException in Chips during monkey run

Bug 8478568

The code was looking for a comma and not finding one, but since the length
of the token was zero, the "if" clause was executed and tried to make
a substring of length -1.

Change-Id: Ic876fd6b5880c452b27083fb23cf78da994e0225
1 file changed