You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Kis (Jira)" <ji...@apache.org> on 2024/04/10 10:12:00 UTC
[jira] [Updated] (NIFI-13019) ClassNotFoundException when using HandleHttpRequest in MiNiFi-2.0.0-M2
[ https://issues.apache.org/jira/browse/NIFI-13019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Kis updated NIFI-13019:
------------------------------
Fix Version/s: 2.0.0-M3
Status: Patch Available (was: In Progress)
> 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: 10m
> 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)