[ 
https://issues.apache.org/jira/browse/NIFI-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651449#comment-15651449
 ] 

Joseph Witt commented on NIFI-2976:
-----------------------------------

removed fix version until there is review/contrib traction.

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

Reply via email to