[
https://issues.apache.org/jira/browse/NIFI-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399324#comment-15399324
]
ASF subversion and git services commented on NIFI-2388:
-------------------------------------------------------
Commit cddbe7d41f52c28606a0c125f6916b2e96d93232 in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=cddbe7d ]
NIFI-2388 This closes #728. Use null for group id if no group specified instead
of throwing NPE
> 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
> Assignee: Joseph Witt
> Priority: Blocker
> Fix For: 1.0.0
>
> Attachments: Screen Shot 2016-07-25 at 11.12.51 AM.png
>
>
> 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)