Hello Joe,

Here's the JIRA. LMK if you need additional details.

https://issues.apache.org/jira/browse/NIFI-4655

Regards,

Dano

On Mon, Dec 4, 2017 at 10:46 AM Joe Witt <joe.w...@gmail.com> wrote:

> Dan
>
> Please share as much of your config for the processor as you can.
> Also, please file a JIRA for this.  There is definitely a bug that
> needs to be addressed if you can make an NPE happen.
>
> Thanks
>
> On Mon, Dec 4, 2017 at 12:27 PM, dan young <danoyo...@gmail.com> wrote:
> > Hello,
> >
> >
> > I'm working on migrating some flows over to a secure cluster with OIDC.
> When
> > I try to start an InvokeHTTP processor, I'm getting the following errors
> in
> > the logs.  Is there some permission/policy that I need to set for this to
> > work?  or is this something else?
> >
> >
> > Nifi 1.4.0
> >
> >
> > 2017-12-04 17:20:03,972 ERROR [StandardProcessScheduler Thread-8]
> > o.a.nifi.processors.standard.InvokeHTTP
> > InvokeHTTP[id=ae055c76-88b8-3c86-bd1e-06ca4dcb43d5]
> > InvokeHTTP[id=ae055c76-88b8-3c86-bd1e-06ca4dcb43d5] failed to invoke
> > @OnScheduled method due to java.lang.RuntimeException: Failed while
> > executing one of processor's OnScheduled task.; processor will not be
> > scheduled to run for 30 seconds: java.lang.RuntimeException: Failed while
> > executing one of processor's OnScheduled task.
> >
> > java.lang.RuntimeException: Failed while executing one of processor's
> > OnScheduled task.
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1483)
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode.access$000(StandardProcessorNode.java:103)
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1302)
> >
> >         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.util.concurrent.ExecutionException:
> > java.lang.reflect.InvocationTargetException
> >
> >         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> >
> >         at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1466)
> >
> >         ... 9 common frames omitted
> >
> > Caused by: java.lang.reflect.InvocationTargetException: null
> >
> >         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:137)
> >
> >         at
> >
> org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125)
> >
> >         at
> >
> org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70)
> >
> >         at
> >
> org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:47)
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1306)
> >
> >         at
> >
> org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1302)
> >
> >         ... 6 common frames omitted
> >
> > Caused by: java.lang.NullPointerException: null
>

Reply via email to