[ 
https://issues.apache.org/jira/browse/LANG-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Yandell closed LANG-429.
------------------------------

    Resolution: Duplicate

Closing with the assumption that this fixed things.

> NullPointerException (NPE) in 
> FastDateFormat.getInstance(FastDateFormat.java:211)
> ---------------------------------------------------------------------------------
>
>                 Key: LANG-429
>                 URL: https://issues.apache.org/jira/browse/LANG-429
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: MS Windows XP (SP 2), Java 1.5.0 Update 11
>            Reporter: Kai Burjack
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to