You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/05/11 08:07:55 UTC

[jira] Commented: (LANG-429) NullPointerException (NPE) in FastDateFormat.getInstance(FastDateFormat.java:211)

    [ https://issues.apache.org/jira/browse/LANG-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595887#action_12595887 ] 

Henri Yandell commented on LANG-429:
------------------------------------

Did 2.4 fix things Kai?

> 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.