I have a an android app that is trying to parse the JSON from a webservice with a GSON Parser, but I keep getting this error:
09-20 15:58:50.835: E/ServiceGateWay(216): Invalid Json String : com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY
The frustrating thing is I don't know how to find at what line it's blowing up. Every time I debug in Eclipse and I walk through the code and I try to step into the part where the code assigns the response to the response class, but Eclipse throws this error:
["SOURCE NOT FOUND"
The JAR file gson-2.0.jar has no source attachment.]
I have checked my JSON response (it's formatting is valid). Does anyone know how I can figure out the exact line where the error occurs?
Thanks,
Mike