I used your View on an empty bucket and used the example query on the View UI page to test it:
_design/dev_test/_spatial/test?stale=false&connection_timeout=60000&limit=10&skip=0
On an empty bucket I got a successful but empty result, which was expected. As soon as I added the example document above, then I get your same error:
{error: "error", reason: "badarg"}
After some reducing of the View and of the document I found that with this particular document it fails because there are double quotes around the latitude and longitude coordinates in your location field (doc.location.coordinates). They need to be unquoted numbers if you want to pass your location field in as the geometry for the key. More on spatial views can be found here: http://docs.couchbase.com/admin/admin/Views/views-geospatial.html
Ideally, you would fix your issue by fixing the documents in your bucket. Whatever is creating your location field is putting the coordinates in as strings when they need to be floats. If that is not possible then you can try something similar to the following to doing the conversion in your View, at the very least this should prove that the string coordinates are the root cause of your problem:
function (doc, meta) {
if (doc.type == "report" && doc.location && doc.location.type && doc.location.coordinates) {
if(doc.location.type=='Point'){
for(var i=0; i<doc.location.coordinates.length; i++){
doc.location.coordinates[i] = parseFloat(doc.location.coordinates[i]);
}
emit(doc.location, {summary:doc.summary});
}
}
}