[
https://issues.apache.org/jira/browse/NIFI-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-4716.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> Provenance query unhandled exception when Node disconnected
> -----------------------------------------------------------
>
> Key: NIFI-4716
> URL: https://issues.apache.org/jira/browse/NIFI-4716
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.4.0
> Reporter: Mark Bean
> Priority: Major
>
> Scenario: 2-node Cluster with one Node disconnected. Using the UI of the
> surviving Node, when attempting a Data Provenance query, a popup error dialog
> indicates "Cluster is unable to service request to change flow: Node
> <disconnected-node-server:port> is currently disconnected.". This occurs even
> before the Provenance Events list is generated.
> However, using the UI of the disconnected Node the same Data Provenance query
> is attempted. Now, a list of Provenance events is displayed. Then, when
> choosing 'View Details', an uncaught exception occurs: "An unexpected error
> has occurred. Please check the logs for additional details."
> The nifi-user.log indicates:
> o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred:
> java.lang.NullPointerException. Returning Internal Server Error response
> java.lang.NullPointerException: null
> at
> org.apache.nifi.web.api.ProvenanceEventResource.getProvenanceEvent(ProvenanceEventResource.java:297)
> ...
> First, the error reported by the connected Node is misleading. An attempt to
> change the flow has not been made.
> Second, recommend the disconnected Node behave as the connected Node and
> immediate return an error on an attempt to query provenance. (However, the
> error should be more descriptive of the problem as noted above.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)