Nicholas Carenza created NIFI-6829:
--------------------------------------

             Summary: RethinkDB processors require Username and Password
                 Key: NIFI-6829
                 URL: https://issues.apache.org/jira/browse/NIFI-6829
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.9.2
            Reporter: Nicholas Carenza


The RethinkDB suite of processor all require username and password. They are 
marked as optional but if you don't provide them then the processor fails to 
initialize.

It's probably because in the AbstractRethinkDBProcessor the `makeConnection` 
method doesn't have a case for making a connection in the absence of username 
and password.

When you run the processor in this case you get an unhelpful RuntimeError with 
no message and a NullPointerException .

[https://github.com/apache/nifi/blob/ea9b0db2f620526c8dd0db595cf8b44c3ef835be/nifi-nar-bundles/nifi-rethinkdb-bundle/nifi-rethinkdb-processors/src/main/java/org/apache/nifi/processors/rethinkdb/AbstractRethinkDBProcessor.java#L199-L203]



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

Reply via email to