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

Bryan Bende commented on NIFI-6886:
-----------------------------------

{code:java}
2019-11-20 09:27:21,909 WARN [Timer-Driven Process Thread-1] 
o.a.n.r.SiteToSiteStatusReportingTask 
SiteToSiteStatusReportingTask[id=8822b0f4-016e-1000-b27f-6f436f433682] 
org.apache.nifi.remote.client.PeerSelector@3f30d808 Unable to refresh Remote 
Group's peers due to null
2019-11-20 09:27:21,909 WARN [NiFi Site-to-Site Connection Pool Maintenance] 
o.a.n.r.SiteToSiteStatusReportingTask 
SiteToSiteStatusReportingTask[id=8822b0f4-016e-1000-b27f-6f436f433682] 
org.apache.nifi.remote.client.PeerSelector@3f30d808 Unable to refresh Remote 
Group's peers due to null
2019-11-20 09:27:21,912 DEBUG [NiFi Site-to-Site Connection Pool Maintenance] 
o.apache.nifi.remote.client.PeerSelector 
java.lang.NullPointerException: null
    at 
org.apache.nifi.remote.client.PeerSelector.persistPeerStatuses(PeerSelector.java:112)
    at 
org.apache.nifi.remote.client.PeerSelector.refreshPeers(PeerSelector.java:306)
    at 
org.apache.nifi.remote.client.socket.EndpointConnectionPool$2.run(EndpointConnectionPool.java:129)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
2019-11-20 09:27:21,912 DEBUG [Timer-Driven Process Thread-1] 
o.apache.nifi.remote.client.PeerSelector 
java.lang.NullPointerException: null
    at 
org.apache.nifi.remote.client.PeerSelector.persistPeerStatuses(PeerSelector.java:112)
    at 
org.apache.nifi.remote.client.PeerSelector.refreshPeers(PeerSelector.java:306)
    at 
org.apache.nifi.remote.client.PeerSelector.createPeerStatusList(PeerSelector.java:268)
    at 
org.apache.nifi.remote.client.PeerSelector.getPeerStatuses(PeerSelector.java:237)
    at 
org.apache.nifi.remote.client.socket.EndpointConnectionPool.getEndpointConnection(EndpointConnectionPool.java:169)
    at 
org.apache.nifi.remote.client.socket.SocketClient.createTransaction(SocketClient.java:128)
    at 
org.apache.nifi.reporting.SiteToSiteStatusReportingTask.onTrigger(SiteToSiteStatusReportingTask.java:162)
    at 
org.apache.nifi.controller.tasks.ReportingTaskWrapper.run(ReportingTaskWrapper.java:44)
    at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748) {code}

> Unable to refresh Remote Group's peers due to null
> --------------------------------------------------
>
>                 Key: NIFI-6886
>                 URL: https://issues.apache.org/jira/browse/NIFI-6886
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.10.0
>         Environment: Linux CentOS 7 x64
>            Reporter: Eduardo Mota Fontes
>            Priority: Major
>
> If you create SiteToSiteBulletinReportingTask pointing to cluster itself to 
> an arbitrary input port it generates Bulletin in every execution:
> WARNING
> *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] 
> org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote 
> Group's peers due to null*
> This log appears in nifi-app.log too.
> Try to debug this error, I figure out that has a new PeerSelector 
> implementation in version 1.10.0 and the error occurs when it tries to save 
> the Peers State.



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

Reply via email to