[
https://issues.apache.org/jira/browse/NIFI-7296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116773#comment-17116773
]
Tamás Bunth commented on NIFI-7296:
-----------------------------------
I could reproduce the bug using CentOS 7.8.2003,
java-11-openjdk-11.0.7.10-4.el7_8.x86_64.
The problem is related to an openJDK bug[1], which is already fixed, and
backported to OpenJDK 11.0.8.
The problem lies on having a new entry in CLDR which is "America/Nuuk". Nuuk is
renamed from Godthab, but this change has to be addressed in OpenJDK as well
(apparently, they link the existing data to this new entry).
Since it's not "our" bug, and the affected java versions are narrow, I would
close this issue.
[1] https://bugs.openjdk.java.net/browse/JDK-8243541
> BST TimeZone parsing fails, breaking webgui and API
> ---------------------------------------------------
>
> Key: NIFI-7296
> URL: https://issues.apache.org/jira/browse/NIFI-7296
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.11.3
> Environment: Nifi 1.11.3 running on
> jre-11-openjdk-11.0.4.11-1.el7_7.x86_64 and RHEL 8
> cluster of 6 servers
> Reporter: Michael Percival
> Assignee: Tamás Bunth
> Priority: Blocker
>
> Since clocks have changed in the UK and we have moved to BST, API calls and
> browsing to the web gui fails with a 'An unexpected error has occurred.
> Please check the logs for additional details.' error. reviewing the
> nifi-user.log shows the below when attempting to access the webgui, appears
> the timezone is not being parsed properly by the web server, see below:
> Caused by: java.time.format.DateTimeParseException: Text '12:23:17 BST' could
> not be parsed: null
> at
> java.base/java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:2017)
> at
> java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1952)
> at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:492)
> at
> org.apache.nifi.web.api.dto.util.TimeAdapter.unmarshal(TimeAdapter.java:55)
> at
> org.apache.nifi.web.api.dto.util.TimeAdapter.unmarshal(TimeAdapter.java:33)
> at
> com.fasterxml.jackson.module.jaxb.AdapterConverter.convert(AdapterConverter.java:35)
> at
> com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer.convertValue(StdDelegatingDeserializ$
> at
> com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer.deserialize(StdDelegatingDeserialize$
> at
> com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
> at
> com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
> ... 122 common frames omitted
--
This message was sent by Atlassian Jira
(v8.3.4#803005)