Member since
01-22-2021
3
Posts
0
Kudos Received
0
Solutions
02-01-2021
03:31 PM
Thanks for the reply. I don't think I used HDF. I just installed the nifi 1.12.1 binary into three physical machines.
... View more
01-31-2021
08:57 PM
Hi, I have a 3-node cluster with openjdk11. When I restarted the NiFi nodes, it had the following NullPointerException. However, if I update JAVA_HOME to Java8 for all nodes. The error couldn't be reproduced any more. 2021-01-21 15:31:40,540 ERROR [NiFi Web Server-54] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.RuntimeException: Failed to parse response as entity of type class org.apache.nifi.web.api.entity.FlowConfigurati onEntity. Returning Internal Server Error response. java.lang.RuntimeException: Failed to parse response as entity of type class org.apache.nifi.web.api.entity.FlowConfigurationEntity . . . Caused by: com.fasterxml.jackson.databind.JsonMappingException: Text '15:31:40 CST' could not be parsed: null (through reference chain: org.apache.nifi.web.api.entity.FlowConfigurationEntity["flowConfiguration"]->org.apache.nifi.web.api.dto.FlowConfigurationDTO["currentTime"]) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:394) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:353) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1711) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:290) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3985) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2277) at com.fasterxml.jackson.core.JsonParser.readValueAs(JsonParser.java:1729) at org.apache.nifi.cluster.coordination.http.replication.okhttp.JacksonResponse.readEntity(JacksonResponse.java:101) ... 123 common frames omitted Caused by: java.time.format.DateTimeParseException: Text '15:31:40 CST' 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) Does anyone happen to know the issue? Thanks
... View more
Labels:
- Labels:
-
Apache NiFi