My bad, found a stack in the timestamped log.

2016-06-28 09:01:59,812 INFO [pool-16-thread-1]
org.wali.MinimalLockingWriteAheadLog
org.wali.MinimalLockingWriteAheadLog@7c59cf66 checkpointed with 12743
Records and 0 Swap Files in 2858 milliseconds (Stop-the-world time = 475
milliseconds, Clear Edit Logs time = 297 millis), max Transaction ID 270237
2016-06-28 09:01:59,812 INFO [pool-16-thread-1]
o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile
Repository with 12743 records in 2858 milliseconds
2016-06-28 09:02:18,175 ERROR [Timer-Driven Process Thread-148]
o.a.nifi.processors.standard.InvokeHTTP
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462]
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] failed to process due
to java.lang.NoClassDefFoundError: android/util/Log; rolling back session:
java.lang.NoClassDefFoundError: android/util/Log
2016-06-28 09:02:18,176 ERROR [Timer-Driven Process Thread-148]
o.a.nifi.processors.standard.InvokeHTTP
java.lang.NoClassDefFoundError: android/util/Log
at
com.burgstaller.okhttp.AuthenticationCacheInterceptor.intercept(AuthenticationCacheInterceptor.java:34)
~[na:na]
at
com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:232)
~[na:na]
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)
~[na:na]
at com.squareup.okhttp.Call.execute(Call.java:80) ~[na:na]
at
org.apache.nifi.processors.standard.InvokeHTTP.onTrigger(InvokeHTTP.java:568)
~[na:na]
at
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
~[nifi-api-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1059)
[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136)
[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:123)
[nifi-framework-core-0.6.1.jar:0.6.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_72]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[na:1.8.0_72]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_72]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_72]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_72]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_72]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
2016-06-28 09:02:18,177 ERROR [Timer-Driven Process Thread-148]
o.a.nifi.processors.standard.InvokeHTTP
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462]
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] failed to process
session due to java.lang.NoClassDefFoundError: android/util/Log:
java.lang.NoClassDefFoundError: android/util/Log
2016-06-28 09:02:18,178 ERROR [Timer-Driven Process Thread-148]
o.a.nifi.processors.standard.InvokeHTTP
java.lang.NoClassDefFoundError: android/util/Log
at
com.burgstaller.okhttp.AuthenticationCacheInterceptor.intercept(AuthenticationCacheInterceptor.java:34)
~[na:na]
at
com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:232)
~[na:na]
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)
~[na:na]
at com.squareup.okhttp.Call.execute(Call.java:80) ~[na:na]
at
org.apache.nifi.processors.standard.InvokeHTTP.onTrigger(InvokeHTTP.java:568)
~[na:na]
at
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
~[nifi-api-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1059)
~[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136)
[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
[nifi-framework-core-0.6.1.jar:0.6.1]
at
org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:123)
[nifi-framework-core-0.6.1.jar:0.6.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_72]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[na:1.8.0_72]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_72]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_72]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_72]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_72]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
2016-06-28 09:02:18,178 WARN [Timer-Driven Process Thread-148]
o.a.nifi.processors.standard.InvokeHTTP
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] Processor
Administratively Yielded for 1 sec due to processing failure
2016-06-28 09:02:18,178 WARN [Timer-Driven Process Thread-148]
o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding
InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] due to uncaught
Exception: java.lang.NoClassDefFoundError: android/util/Log
2016-06-28 09:02:18,179 WARN [Timer-Driven Process Thread-148]
o.a.n.c.t.ContinuallyRunProcessorTask
java.lang.NoClassDefFoundError: android/util/Log
at
com.burgstaller.okhttp.AuthenticationCacheInterceptor.intercept(AuthenticationCacheInterceptor.java:34)

On Tue, Jun 28, 2016 at 10:42 AM, Scott Stroud <[email protected]>
wrote:

> I do not see the full stack in the nifi log file.  I will take a stab at
> configuring all that.  In my 5 minutes of research the exception typically
> has to do with BoneCP.
>
> On Tue, Jun 28, 2016 at 10:37 AM, Joe Witt <[email protected]> wrote:
>
>> Scott
>>
>> What is throwing me off is the android reference there in the class
>> name.  In the logs/nifi-app.log are you seeing the full stack traces
>> that follow those messages.  If not we will want to turn those on and
>> see them unless someone has a better idea.
>>
>> Thanks
>> Joe
>>
>> On Tue, Jun 28, 2016 at 7:27 AM, Scott Stroud <[email protected]>
>> wrote:
>> > java version "1.8.0_72"
>> >
>> > Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
>> >
>> > Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
>> >
>> >
>> > On Tue, Jun 28, 2016 at 10:27 AM, Joe Witt <[email protected]> wrote:
>> >>
>> >> Agreed - it should work out of the box.
>> >>
>> >> When you run 'java -version' can you please share the output.
>> >>
>> >> Thanks
>> >> Joe
>> >>
>> >> On Tue, Jun 28, 2016 at 7:23 AM, Scott Stroud <[email protected]>
>> >> wrote:
>> >> > Im attempting to use the InvokeHTTP component with the 0.6.1 release
>> and
>> >> > keep seeing this error.  My JAVA_HOME is 1.8.0_72-b15 on my Mac.  Im
>> >> > sure I
>> >> > could go find the jar and manually add it to the classpath, but I
>> assume
>> >> > it
>> >> > should work OOB straight from the NiFi download or maybe its some
>> path
>> >> > nuance to my local system.  Any insight is appreciated.
>> >> >
>> >> > InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] failed to process
>> >> > session due to java.lang.NoClassDefFoundError: android/util/Log:
>> >> > java.lang.NoClassDefFoundError: android/util/Log
>> >> > 09:50:51 EDTWARNING908a3005-b216-4458-aeee-489e6ec7c462
>> >> > InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] Processor
>> >> > Administratively Yielded for 1 sec due to processing failure
>> >> > 09:50:54 EDTWARNING908a3005-b216-4458-aeee-489e6ec7c462
>> >> > InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] Processor
>> >> > Administratively Yielded for 1 sec due to processing failure
>> >> > 09:50:54 EDTERROR908a3005-b216-4458-aeee-489e6ec7c462
>> >> > InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462]
>> >> > InvokeHTTP[id=908a3005-b216-4458-aeee-489e6ec7c462] failed to process
>> >> > session due to java.lang.NoClassDefFoundError: android/util/Log:
>> >> > java.lang.NoClassDefFoundError: android/util/Log
>> >
>> >
>>
>
>

Reply via email to