[
https://issues.apache.org/jira/browse/NIFI-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399452#comment-15399452
]
ASF GitHub Bot commented on NIFI-2388:
--------------------------------------
GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/746
NIFI-2388: Addressed a spot that assumes that Process Group is always…
… set on StandardControllerServiceNode
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-2388-Part2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/746.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #746
----
commit 27649c4c32f49f632ffdd33418698484ce8df4f5
Author: Mark Payne <[email protected]>
Date: 2016-07-29T14:57:33Z
NIFI-2388: Addressed a spot that assumes that Process Group is always set
on StandardControllerServiceNode
----
> 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)