changed invalid argument exception in array entry token from to error message to print token string representation instead of its class name.