Sometimes (sadly this is not reproducible) the following method call results in a NullPointerException (NPE):
Stacktrace:
java.lang.NullPointerException
at org.apache.commons.lang.time.FastDateFormat.getInstance(FastDateFormat.java:211)
at org.apache.commons.lang.time.DateFormatUtils.format(DateFormatUtils.java:258)
at org.apache.commons.lang.time.DateFormatUtils.format(DateFormatUtils.java:232)
I don't know how this is actually possible, since the exception is being raised when accessing a static field 'cInstanceCache' that will be implicitly initialized...
Could this have something to do with class gc?
LANG-367.Updating to version 2.4 should fix the problem.