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

Tamás Bunth resolved NIFI-7296.
-------------------------------
    Resolution: Won't Fix

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

Reply via email to