You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2016/07/25 15:28:20 UTC

[jira] [Created] (NIFI-2388) NPE during validation of Controller Service that relies on another Controller Service at the controller level

Joseph Percivall created NIFI-2388:
--------------------------------------

             Summary: NPE during validation of Controller Service that relies on another Controller Service at the controller level
                 Key: NIFI-2388
                 URL: https://issues.apache.org/jira/browse/NIFI-2388
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Joseph Percivall
            Priority: Blocker
             Fix For: 1.0.0


In the controller level:
Create valid StandardSSLContextService
Create DistributedMapCacheClientService that relies on the SSL CS
start StandardSSLContextService
see a validation error for DistributedMapCacheClientService saying:

"" is invalid because Failed to run validation due to java.lang.NullPointerException

This is due to this line[1]. It attempts to get the identifier of the process group but since it's associated with the controller and not a process group it fails with an NPE.

https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/processor/StandardValidationContext.java#L101



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)