Using the StatsComponent with a date field that never has a value you'll get
The problem is in this line of DateStatsValues:
If count is 0 the division throws ArithmeticException because sum is long here. This doesn't happen with NumericStatsValues because sum is double there and the division result is Nan.
By the way, the result of those divisions is not even included in the output when count is 0 because of this condition in SimpleStats#getStatsFields:
Therefore, it should never throw an exception!