You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2019/07/14 07:16:00 UTC

[jira] [Created] (SOLR-13631) Java 11 date parsing causing NPEs

Ishan Chattopadhyaya created SOLR-13631:
-------------------------------------------

             Summary: Java 11 date parsing causing NPEs
                 Key: SOLR-13631
                 URL: https://issues.apache.org/jira/browse/SOLR-13631
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Ishan Chattopadhyaya
            Assignee: Ishan Chattopadhyaya


Across all my machines with Fedora 30, I encounter 20+ test failures with the following NPEs. Same when starting Solr (it doesn't start up).

{code}
   [junit4]   2> Caused by: java.time.format.DateTimeParseException: Text '2019-07-14T07:09:13.341Z' could not be parsed: null
   [junit4]   2> 	at java.base/java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:2017)
   [junit4]   2> 	at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1920)
   [junit4]   2> 	at org.apache.solr.update.processor.ParseDateFieldUpdateProcessorFactory.parseInstant(ParseDateFieldUpdateProcessorFactory.java:230)
   [junit4]   2> 	at org.apache.solr.update.processor.ParseDateFieldUpdateProcessorFactory.validateFormatter(ParseDateFieldUpdateProcessorFactory.java:214)
   [junit4]   2> 	... 44 more
{code}

Here are my environment details:
OS: Fedora 30
Java version:
{code}
[ishan@chromebox core] $ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment 18.9 (build 11.0.3+7)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.3+7, mixed mode, sharing)
{code}
Kernel: 5.1.16-300.fc30.x86_64




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org