You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2021/02/03 23:38:00 UTC

[jira] [Resolved] (NIFI-2976) NullPointerException thrown if attempting to reconnect to cluster but reconnection fails

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

Mark Payne resolved NIFI-2976.
------------------------------
    Resolution: Duplicate

Resolving as duplicate, as NIFI-7866 has more details about the cause

> NullPointerException thrown if attempting to reconnect to cluster but reconnection fails
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-2976
>                 URL: https://issues.apache.org/jira/browse/NIFI-2976
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Priority: Major
>
> If we have a case where the Cluster Coordinator requests that Node A re-join the cluster, but Node A fails to join, Node A will throw a NullPointerException, with the following stack trace:
> {code}
> 2016-10-31 16:35:49,354 ERROR [Reconnect to Cluster] o.a.nifi.controller.StandardFlowService Handling reconnection request failed due to: org.apache.nifi.cluster.ConnectionException: Failed to connect node to cluster due to: java.lang.NullPointerException
> org.apache.nifi.cluster.ConnectionException: Failed to connect node to cluster due to: java.lang.NullPointerException
>   at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:901) [nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
>   at org.apache.nifi.controller.StandardFlowService.handleReconnectionRequest(StandardFlowService.java:599) [nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
>   at org.apache.nifi.controller.StandardFlowService.access$300(StandardFlowService.java:97) [nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
>   at org.apache.nifi.controller.StandardFlowService$2.run(StandardFlowService.java:404) [nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> Caused by: java.lang.NullPointerException: null
>   at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:863) [nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
>   ... 4 common frames omitted
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)