It looks like a trade of amount 0 has gone through and has caused the problem. This is the culprit:
{"date": 1311104701, "price": , "amount": 0}
I also noticed a trade in the order book earlier today where one of the quantities was zero so looks like the validation may need tightening up somewhere. (Edit: that's a guess, I haven't read the code in any detail)