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/21 15:10:21 UTC
[jira] [Resolved] (NIFI-2155) Cannot disable a controller service
if referenced by a processor
[ https://issues.apache.org/jira/browse/NIFI-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Percivall resolved NIFI-2155.
------------------------------------
Resolution: Not A Problem
Assignee: (was: Oleg Zhurakousky)
No longer a problem on master (unable to reproduce)
> Cannot disable a controller service if referenced by a processor
> ----------------------------------------------------------------
>
> Key: NIFI-2155
> URL: https://issues.apache.org/jira/browse/NIFI-2155
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Matt Burgess
> Fix For: 1.0.0
>
>
> When a Controller Service (such as Database Connection Pool) is referenced by a processor and enabled, then disabling it causes an NPE:
> {code}
> 2016-06-30 09:33:01,850 INFO [NiFi Web Server-79] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) PUT http://127.0.0.1:8989/nifi-api/controller-services/1d1acd4d-3946-4cd5-9074-94f89de5be9e/references (source ip: 127.0.0.1)
> 2016-06-30 09:33:01,856 ERROR [NiFi Web Server-79] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.NullPointerException. Returning Internal Server Error response.
> java.lang.NullPointerException: null
> at org.apache.nifi.web.api.dto.DtoFactory.createRevisionDTO(DtoFactory.java:2882) ~[classes/:na]
> at org.apache.nifi.web.StandardNiFiServiceFacade.createControllerServiceReferencingComponentsEntity(StandardNiFiServiceFacade.java:1761) ~[classes/:1.0.0-SNAPSHOT]
> {code}
> If the controller service is not referenced by a processor, it can be disabled successfully.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)