Created attachment 26693 [details] Test main class which demonstrates the NPEs and ParseException. hashCode and toString of ISO8601DateFormat throw a NullPointerException, because the inherited field numberFormat is not initialized. BTW, since it overrides parse(String, ParsePosition) to always return null, it should probably do the same with parse(String). Instead, it throws a ParseException.