Reduce logspam by catching unexpected types ourselves.

Also fix a bug in the conversion of ArrayLists to String[].

Change-Id: I839c80d0b571be298062d511dd3c83cc1e263f54
1 file changed