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 2016/12/08 14:09:58 UTC
[jira] [Commented] (NIFI-3166) SocketRemoteSiteListener NPE when
calling NifiProperties.getRemoteInputHttpPort
[ https://issues.apache.org/jira/browse/NIFI-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15732307#comment-15732307 ]
Mark Payne commented on NIFI-3166:
----------------------------------
[~trixpan] - I ran into this a while back, and I could have sworn that it was addressed. Now, though, I cannot find the JIRA anywhere. Clearly this is something that we need to address, but in the meantime, a simple workaround is to enable http-based site-to-site. If HTTP-based site-to-site is enabled, then you should be able to use either HTTP-based or RAW.
> SocketRemoteSiteListener NPE when calling NifiProperties.getRemoteInputHttpPort
> -------------------------------------------------------------------------------
>
> Key: NIFI-3166
> URL: https://issues.apache.org/jira/browse/NIFI-3166
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.1.0
> Reporter: Andre
>
> When using the following properties:
> nifi.remote.input.host=node1.textbed.internal
> nifi.remote.input.secure=true
> nifi.remote.input.socket.port=54321
> nifi.remote.input.http.enabled=false
> nifi.remote.input.http.transaction.ttl=30 sec
> I hit
> {code}
> 2016-12-09 00:15:26,456 ERROR [Site-to-Site Worker Thread-145] o.a.nifi.remote.SocketRemoteSiteListener
> java.lang.NullPointerException: null
> at org.apache.nifi.remote.SocketRemoteSiteListener$1$1.run(SocketRemoteSiteListener.java:280) ~[nifi-site-to-site-1.1.0.jar:1.1.0]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)