I am not sure what fails mean in this case, but I experience an infinite loop using JsonResultReader in case there are no results, I use Oracle JDK 6, Splunk SDK 1.1
The problem is that when Splunk tries to parse the following:
{"results":[{"count":0}]}
It starts reading the object starting at the { , it reads the count as name (in /com/splunk/ResultsReaderJson.java:287) then the next Json token is a JsonToken.NUMBER with the value 0, but the method does not handle it, it expects only _START/_END, NAME and STRING tokens.
... View more