I've been seeing this Exception in the logs for MakerAPI and was wondering what it means.
I have the full http request that was made on one of these failures:
http://192.168.0.201/apps/api/38/devices/578/setLocation/%7B%22acc%22%3A4.431383%2C%22bat%22%3A100%2C%22lat%22%3A25.0000000%2C%22lng%22%3A-80.0000000%2C%22p%22%3A0%2C%22w%22%3A1%7D&access_token=ACCESS_TOKEN
without the URL encoding which makes this a pain to read the command looks like this:
setLocation/{"acc":4.431383,"bat":100,"lat":25.0000000,"lng":-80.0000000,"p":0,"w":1}
MOST of the time this same command works just fine. It basically sends a string (which happens to be JSON) to a driver and everything works great. The driver logs what it received:
But, it also fails with this MakerAPI NullPointerException occasionally and I'm curious why
Any ideas? Is there a limit to the argument length passed into MakerAPI? Could the URL encoding be causing issues?
thanks,
joe