commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1285) NullPointerException in FastDateParser$TimeZoneStrategy
Date Wed, 16 Nov 2016 06:11:58 GMT

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

ASF GitHub Bot commented on LANG-1285:
--------------------------------------

Github user coveralls commented on the issue:

    https://github.com/apache/commons-lang/pull/212
  
    
    [![Coverage Status](https://coveralls.io/builds/8847626/badge)](https://coveralls.io/builds/8847626)
    
    Coverage increased (+0.0004%) to 93.563% when pulling **b61c9b3594bec226dd26ef9af966ebaa6ebf78dc
on ilgrosso:master** into **0f6a292a29fedd49741310cd517ac4ba907bf8d4 on apache:master**.



> NullPointerException in FastDateParser$TimeZoneStrategy
> -------------------------------------------------------
>
>                 Key: LANG-1285
>                 URL: https://issues.apache.org/jira/browse/LANG-1285
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.time.*
>    Affects Versions: 3.5
>         Environment: Centos 7, en_GB locale
>            Reporter: Francesco Chicchiriccò
>             Fix For: 3.6
>
>
> It seems that after LANG-1186 was fixed, and before 3.5 went out, the bug was re-introduced.
> One of my customers is getting the following error (I am actually not able to reproduce
it) with 3.5:
> {code}
> java.lang.NullPointerException
>         at org.apache.commons.lang3.time.FastDateParser$TimeZoneStrategy.<init>(FastDateParser.java:869)
>         at org.apache.commons.lang3.time.FastDateParser.getLocaleSpecificStrategy(FastDateParser.java:637)
>         at org.apache.commons.lang3.time.FastDateParser.getStrategy(FastDateParser.java:606)
>         at org.apache.commons.lang3.time.FastDateParser.access$100(FastDateParser.java:73)
>         at org.apache.commons.lang3.time.FastDateParser$StrategyParser.letterPattern(FastDateParser.java:234)
>         at org.apache.commons.lang3.time.FastDateParser$StrategyParser.getNextStrategy(FastDateParser.java:220)
>         at org.apache.commons.lang3.time.FastDateParser.init(FastDateParser.java:167)
>         at org.apache.commons.lang3.time.FastDateParser.<init>(FastDateParser.java:153)
>         at org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:394)
>         at org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:378)
>         at org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:100)
>         at org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:97)
>         at org.apache.commons.lang3.time.FormatCache.getInstance(FormatCache.java:81)
>         at org.apache.commons.lang3.time.FastDateFormat.getInstance(FastDateFormat.java:128)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message