Unfortunately this looks like a bug in the code: (sslService != null && sslService.isKeyStoreConfigured() || sslService.isTrustStoreConfigured())
Should be: (sslService != null && (sslService.isKeyStoreConfigured() || sslService.isTrustStoreConfigured())) Currently it will hit the last expression when the service is null and then get a null pointer calling sslService.isTrustStoreConfigured() On Thu, Jun 13, 2019 at 10:36 AM Michal Tomaszewski <michal.tomaszew...@cca.pl> wrote: > > Hi, > > > > In newest build there is a bug in ElasticsearchClientServiceImpl. > > It shows errors like “Error building up SSL Context from supplied > Configuration” while service is configured without SSL Context Service just > using http host without credentials like in screenshots attached. > > The ElasticsearchClientServiceImpl shows status “Enabling” and throws errors. > > > > The problem exists in latest build. > > In 1.9.0 the same configuration worked properly. > > We are connecting to Elasticsearch 5.6.16. > > Problem exists even when non-existing elasticsearch server IP address is > provided in configuration. > > > > Please let me know how solve this issue. > > Bellow are some logs attached. > > > > Regards, > > Mike > > > > 2019-06-13 16:09:04,274 ERROR [Timer-Driven Process Thread-6] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Error > building up SSL Context from the supplied configuration.: > java.lang.NullPointerException > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > 2019-06-13 16:09:04,274 ERROR [Timer-Driven Process Thread-6] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Could > not initialize ElasticSearch client.: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:09:04,275 ERROR [Timer-Driven Process Thread-6] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnEnabled method due to > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException: {} > > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:100) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > ... 17 common frames omitted > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:09:04,275 ERROR [Timer-Driven Process Thread-6] > o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnEnabled method of > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] due > to org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > 2019-06-13 16:09:04,276 ERROR [Timer-Driven Process Thread-6] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnDisabled method due to > java.lang.NullPointerException: {} > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onDisabled(ElasticSearchClientServiceImpl.java:106) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.invokeDisable(StandardControllerServiceNode.java:516) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.access$400(StandardControllerServiceNode.java:72) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:440) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > 2019-06-13 16:09:04,276 ERROR [Timer-Driven Process Thread-6] > o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnDisabled method > of ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] > due to java.lang.NullPointerException > > 2019-06-13 16:11:06,793 ERROR [Timer-Driven Process Thread-1] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Error > building up SSL Context from the supplied configuration.: > java.lang.NullPointerException > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > 2019-06-13 16:11:06,794 ERROR [Timer-Driven Process Thread-1] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Could > not initialize ElasticSearch client.: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:11:06,795 ERROR [Timer-Driven Process Thread-1] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnEnabled method due to > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException: {} > > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:100) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > ... 17 common frames omitted > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:11:06,795 ERROR [Timer-Driven Process Thread-1] > o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnEnabled method of > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] due > to org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > 2019-06-13 16:11:06,796 ERROR [Timer-Driven Process Thread-1] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnDisabled method due to > java.lang.NullPointerException: {} > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onDisabled(ElasticSearchClientServiceImpl.java:106) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.invokeDisable(StandardControllerServiceNode.java:516) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.access$400(StandardControllerServiceNode.java:72) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:440) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > 2019-06-13 16:11:06,796 ERROR [Timer-Driven Process Thread-1] > o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnDisabled method > of ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] > due to java.lang.NullPointerException > > 2019-06-13 16:11:36,797 ERROR [Timer-Driven Process Thread-3] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Error > building up SSL Context from the supplied configuration.: > java.lang.NullPointerException > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > 2019-06-13 16:11:36,798 ERROR [Timer-Driven Process Thread-3] > o.a.n.e.ElasticSearchClientServiceImpl > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] Could > not initialize ElasticSearch client.: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:11:36,798 ERROR [Timer-Driven Process Thread-3] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnEnabled method due to > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException: {} > > org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:100) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:416) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:135) > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onEnabled(ElasticSearchClientServiceImpl.java:96) > > ... 17 common frames omitted > > Caused by: java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.setupClient(ElasticSearchClientServiceImpl.java:131) > > ... 18 common frames omitted > > 2019-06-13 16:11:36,799 ERROR [Timer-Driven Process Thread-3] > o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnEnabled method of > ElasticSearchClientServiceImpl[id=510a3a8a-016b-1000-f57d-be1e8f81636c] due > to org.apache.nifi.reporting.InitializationException: > org.apache.nifi.reporting.InitializationException: > java.lang.NullPointerException > > 2019-06-13 16:11:36,799 ERROR [Timer-Driven Process Thread-3] > o.a.n.c.s.StandardControllerServiceNode > StandardControllerServiceNode{controllerServiceHolder=org.apache.nifi:nifi-elasticsearch-client-service-nar:1.10.0-SNAPSHOT, > versionedComponentId=null, comment='', > processGroup=StandardProcessGroup[identifier=5109263d-016b-1000-7b60-cf1bc3f77443], > active=true} Failed to invoke @OnDisabled method due to > java.lang.NullPointerException: {} > > java.lang.NullPointerException: null > > at > org.apache.nifi.elasticsearch.ElasticSearchClientServiceImpl.onDisabled(ElasticSearchClientServiceImpl.java:106) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75) > > at > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.invokeDisable(StandardControllerServiceNode.java:516) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode.access$400(StandardControllerServiceNode.java:72) > > at > org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:440) > > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > > > ________________________________________ Uwaga: Treść niniejszej wiadomości > może być poufna i objęta zakazem jej ujawniania. Jeśli czytelnik tej > wiadomości nie jest jej zamierzonym adresatem, pracownikiem lub pośrednikiem > upoważnionym do jej przekazania adresatowi, informujemy że wszelkie > rozprowadzanie, rozpowszechnianie lub powielanie niniejszej wiadomości jest > zabronione. Jeśli otrzymałeś tę wiadomość omyłkowo, proszę bezzwłocznie > odesłać ją nadawcy, a samą wiadomość usunąć z komputera. Dziękujemy. > ________________________________ Note: The information contained in this > message may be privileged and confidential and protected from disclosure. If > the reader of this message is not the intended recipient, or an employee or > agent responsible for delivering this message to the intended recipient, you > are hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited.If you have received this communication > in error, please notify the sender immediately by replying to the message and > deleting it from your computer. Thank you. ________________________________