[
https://issues.apache.org/jira/browse/NIFI-13019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Erdei updated NIFI-13019:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> ClassNotFoundException when using HandleHttpRequest in MiNiFi-2.0.0-M2
> ----------------------------------------------------------------------
>
> Key: NIFI-13019
> URL: https://issues.apache.org/jira/browse/NIFI-13019
> Project: Apache NiFi
> Issue Type: Bug
> Components: MiNiFi
> Affects Versions: 2.0.0-M2
> Reporter: Ferenc Kis
> Assignee: Ferenc Kis
> Priority: Critical
> Fix For: 2.0.0-M3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When using HandleHttpRequest in a MiNiFi flow in version 2.0.0-M2 it results
> in an error:
> {code}
> 2024-04-10 08:47:15,984 ERROR [Timer-Driven Process Thread-6]
> o.a.n.p.standard.HandleHttpRequest
> HandleHttpRequest[id=c6babdfa-018e-1000-78f6-d8fd88397126] Processing halted:
> yielding [1 sec]
> java.lang.NoClassDefFoundError:
> org/eclipse/jetty/server/handler/ContextHandler
> at
> org.apache.nifi.processors.standard.HandleHttpRequest.initializeServer(HandleHttpRequest.java:487)
> at
> org.apache.nifi.processors.standard.HandleHttpRequest.onTrigger(HandleHttpRequest.java:572)
> at
> org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
> at
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1274)
> at
> org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:244)
> at
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:102)
> at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
> at
> java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
> at
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.jetty.server.handler.ContextHandler
> ... 13 common frames omitted
> {code}
> Most probably this happens due to the Jetty 12 upgrade.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)