You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2016/11/09 17:01:58 UTC

[jira] [Updated] (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 ]

Joseph Witt updated NIFI-2976:
------------------------------
    Fix Version/s:     (was: 1.1.0)

> 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
>
> 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
(v6.3.4#6332)