So for both @mattdahse and @erictgrubaugh This was in a map/reduce in the reduce stage and inside a try/catch. Like I said before, the key here is that the method call did not produce an exception at all even though one had to have been occurring because the result was 0 instead of the exception and no record was created.