Hello It is really difficult to review that output as it came through. Can you please create a JIRA and/or find a way to format/share that better.
While there is an OutofMemory error there also appears to be some fundamental Jython challenges to sort out. Thanks On Wed, Nov 6, 2024 at 7:56 AM DangKim, Michael <michaelmin.dang...@hommel-hercules.com.invalid> wrote: > Hello all, > > I got a problem with our nifi instance and could not find a solution for > this problem. > The Nifi is running as a docker container. I tried to restart the > container, but without solution. > > I get this failure info by mail: > > >> > [{"Timestamp":"2024-11-06 > 13:18:24,002","loglevel":"ERROR","logmessage":"[Timer-Driven Process > Thread-16] o.a.n.p.standard.EvaluateJsonPath > EvaluateJsonPath[id=bcbf35e2-a94c-1ac0-8815-6c0edfcf36ab] Processing > halted: yielding [1 sec]","stackTrace":"java.lang.OutOfMemoryError: Java > heap space","_raw":"2024-11-06 13:18:24,002 ERROR [Timer-Driven Process > Thread-16] o.a.n.p.standard.EvaluateJsonPath > EvaluateJsonPath[id=bcbf35e2-a94c-1ac0-8815-6c0edfcf36ab] Processing > halted: yielding [1 sec]\njava.lang.OutOfMemoryError: Java heap > space"},{"Timestamp":"2024-11-06 > 13:18:29,252","loglevel":"ERROR","logmessage":"[Packet Reader for > 10.34.129.22] com.hierynomus.smbj.session.Session Caught exception while > closing TreeConnect with id: > 1","stackTrace":"com.hierynomus.protocol.transport.TransportException: > java.net.SocketException: Broken pipe (Write failed)\n\tat > com.hierynomus.smbj.transport.tcp.direct.DirectTcpTransport.write(DirectTcpTransport.java:86)\n\tat > com.hierynomus.smbj.connection.Connection.send(Connection.java:238)\n\tat > com.hierynomus.smbj.session.Session.send(Session.java:303)\n\tat > com.hierynomus.smbj.share.TreeConnect.close(TreeConnect.java:69)\n\tat > com.hierynomus.smbj.share.Share.close(Share.java:116)\n\tat > com.hierynomus.smbj.session.Session.logoff(Session.java:236)\n\tat > com.hierynomus.smbj.session.Session.close(Session.java:279)\n\tat > com.hierynomus.smbj.connection.Connection.close(Connection.java:178)\n\tat > com.hierynomus.smbj.connection.Connection.close(Connection.java:155)\n\tat > com.hierynomus.smbj.connection.Connection.handleError(Connection.java:295)\n\tat > com.hierynomus.smbj.transport.PacketReader.run(PacketReader.java:54)\n\tat > java.base/java.lang.Thread.run(Unknown Source)\nCaused by: > java.net.SocketException: Broken pipe (Write failed)\n\tat java.base/ > java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.base/ > java.net.SocketOutputStream.socketWrite(Unknown Source)\n\tat java.base/ > java.net.SocketOutputStream.write(Unknown Source)\n\tat > java.base/java.io.BufferedOutputStream.flushBuffer(Unknown > Source)\n\tat java.base/java.io.BufferedOutputStream.flush(Unknown > Source)\n\tat > com.hierynomus.smbj.transport.tcp.direct.DirectTcpTransport.write(DirectTcpTransport.java:83)\n\t... > 11 common frames omitted","_raw":"2024-11-06 13:18:29,252 ERROR [Packet > Reader for 10.34.129.22] com.hierynomus.smbj.session.Session Caught > exception while closing TreeConnect with id: > 1\ncom.hierynomus.protocol.transport.TransportException: > java.net.SocketException: Broken pipe (Write failed)\n\tat > com.hierynomus.smbj.transport.tcp.direct.DirectTcpTransport.write(DirectTcpTransport.java:86)\n\tat > com.hierynomus.smbj.connection.Connection.send(Connection.java:238)\n\tat > com.hierynomus.smbj.session.Session.send(Session.java:303)\n\tat > com.hierynomus.smbj.share.TreeConnect.close(TreeConnect.java:69)\n\tat > com.hierynomus.smbj.share.Share.close(Share.java:116)\n\tat > com.hierynomus.smbj.session.Session.logoff(Session.java:236)\n\tat > com.hierynomus.smbj.session.Session.close(Session.java:279)\n\tat > com.hierynomus.smbj.connection.Connection.close(Connection.java:178)\n\tat > com.hierynomus.smbj.connection.Connection.close(Connection.java:155)\n\tat > com.hierynomus.smbj.connection.Connection.handleError(Connection.java:295)\n\tat > com.hierynomus.smbj.transport.PacketReader.run(PacketReader.java:54)\n\tat > java.base/java.lang.Thread.run(Unknown Source)\nCaused by: > java.net.SocketException: Broken pipe (Write failed)\n\tat java.base/ > java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.base/ > java.net.SocketOutputStream.socketWrite(Unknown Source)\n\tat java.base/ > java.net.SocketOutputStream.write(Unknown Source)\n\tat > java.base/java.io.BufferedOutputStream.flushBuffer(Unknown > Source)\n\tat java.base/java.io.BufferedOutputStream.flush(Unknown > Source)\n\tat > com.hierynomus.smbj.transport.tcp.direct.DirectTcpTransport.write(DirectTcpTransport.java:83)\n\t... > 11 common frames omitted"},{"Timestamp":"2024-11-06 > 13:26:58,229","loglevel":"ERROR","logmessage":"[Timer-Driven Process > Thread-5] o.a.n.p.standard.GenerateFlowFile > GenerateFlowFile[id=bcbf36a5-a94c-1ac0-6366-b97b138e8ad9] Failed to > properly initialize Processor. If still scheduled to run, NiFi will attempt > to initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to > java.lang.NullPointerException","stackTrace":"java.lang.NullPointerException: > null\n\tat > org.apache.nifi.controller.scheduling.QuartzSchedulingAgent.doSchedule(QuartzSchedulingAgent.java:121)\n\tat > org.apache.nifi.controller.scheduling.AbstractSchedulingAgent.schedule(AbstractSchedulingAgent.java:49)\n\tat > org.apache.nifi.controller.scheduling.AbstractTimeBasedSchedulingAgent.schedule(AbstractTimeBasedSchedulingAgent.java:35)\n\tat > org.apache.nifi.controller.scheduling.StandardProcessScheduler$4.trigger(StandardProcessScheduler.java:346)\n\tat > org.apache.nifi.controller.StandardProcessorNode.lambda$initiateStart$8(StandardProcessorNode.java:1775)\n\tat > org.apache.nifi.engine.FlowEngine$3.call(FlowEngine.java:123)\n\tat > java.base/java.util.concurrent.FutureTask.run(Unknown Source)\n\tat > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)\n\tat java.base/java.lang.Thread.run(Unknown > Source)","_raw":"2024-11-06 13:26:58,229 ERROR [Timer-Driven Process > Thread-5] o.a.n.p.standard.GenerateFlowFile > GenerateFlowFile[id=bcbf36a5-a94c-1ac0-6366-b97b138e8ad9] Failed to > properly initialize Processor. If still scheduled to run, NiFi will attempt > to initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to > java.lang.NullPointerException\njava.lang.NullPointerException: null\n\tat > org.apache.nifi.controller.scheduling.QuartzSchedulingAgent.doSchedule(QuartzSchedulingAgent.java:121)\n\tat > org.apache.nifi.controller.scheduling.AbstractSchedulingAgent.schedule(AbstractSchedulingAgent.java:49)\n\tat > org.apache.nifi.controller.scheduling.AbstractTimeBasedSchedulingAgent.schedule(AbstractTimeBasedSchedulingAgent.java:35)\n\tat > org.apache.nifi.controller.scheduling.StandardProcessScheduler$4.trigger(StandardProcessScheduler.java:346)\n\tat > org.apache.nifi.controller.StandardProcessorNode.lambda$initiateStart$8(StandardProcessorNode.java:1775)\n\tat > org.apache.nifi.engine.FlowEngine$3.call(FlowEngine.java:123)\n\tat > java.base/java.util.concurrent.FutureTask.run(Unknown Source)\n\tat > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)\n\tat java.base/java.lang.Thread.run(Unknown > Source)"},{"Timestamp":"2024-11-06 > 13:27:09,766","loglevel":"ERROR","logmessage":"[Timer-Driven Process > Thread-10] o.a.n.p.standard.EvaluateJsonPath > EvaluateJsonPath[id=bcbf35e2-a94c-1ac0-8815-6c0edfcf36ab] Processing > halted: yielding [1 sec]","stackTrace":"java.lang.OutOfMemoryError: Java > heap space","_raw":"2024-11-06 13:27:09,766 ERROR [Timer-Driven Process > Thread-10] o.a.n.p.standard.EvaluateJsonPath > EvaluateJsonPath[id=bcbf35e2-a94c-1ac0-8815-6c0edfcf36ab] Processing > halted: yielding [1 sec]\njava.lang.OutOfMemoryError: Java heap > space"},{"Timestamp":"2024-11-06 > 13:27:09,771","loglevel":"ERROR","logmessage":"[Validate Components > Thread-1] o.a.n.processors.standard.EvaluateXQuery > EvaluateXQuery[id=44ad884f-ad5f-3eb1-4e03-6b9b9f2c6268] Failed to perform > validation due to java.lang.OutOfMemoryError: Java heap > space","stackTrace":"java.lang.OutOfMemoryError: Java heap space\n\tat > java.base/java.util.ArrayList.spliterator(Unknown Source)\n\tat > java.base/java.util.Collection.stream(Unknown Source)\n\tat > org.apache.nifi.parameter.StandardParameterTokenList.(StandardParameterTokenList.java:33)\n\tat > org.apache.nifi.parameter.ExpressionLanguageAgnosticParameterParser.parseTokens(ExpressionLanguageAgnosticParameterParser.java:68)\n\tat > org.apache.nifi.controller.StandardProcessorNode.evaluateParameters(StandardProcessorNode.java:2085)\n\tat > org.apache.nifi.controller.StandardProcessorNode.validateConfig(StandardProcessorNode.java:1237)\n\tat > org.apache.nifi.controller.AbstractComponentNode.computeValidationErrors(AbstractComponentNode.java:771)\n\tat > org.apache.nifi.controller.StandardProcessorNode.computeValidationErrors(StandardProcessorNode.java:1141)\n\tat > org.apache.nifi.controller.AbstractComponentNode.performValidation(AbstractComponentNode.java:735)\n\tat > org.apache.nifi.controller.AbstractComponentNode.performValidation(AbstractComponentNode.java:749)\n\tat > org.apache.nifi.components.validation.StandardValidationTrigger.trigger(StandardValidationTrigger.java:52)\n\tat > org.apache.nifi.components.validation.TriggerValidationTask.run(TriggerValidationTask.java:54)\n\tat > org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)\n\tat > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown > Source)\n\tat java.base/java.util.concurrent.FutureTask.runAndReset(Unknown > Source)\n\tat > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)\n\tat java.base/java.lang.Thread.run(Unknown > Source)","_raw":"2024-11-06 13:27:09,771 ERROR [Validate Components > Thread-1] o.a.n.processors.standard.EvaluateXQuery > EvaluateXQuery[id=44ad884f-ad5f-3eb1-4e03-6b9b9f2c6268] Failed to perform > validation due to java.lang.OutOfMemoryError: Java heap > space\njava.lang.OutOfMemoryError: Java heap space\n\tat > java.base/java.util.ArrayList.spliterator(Unknown Source)\n\tat > java.base/java.util.Collection.stream(Unknown Source)\n\tat > org.apache.nifi.parameter.StandardParameterTokenList.(StandardParameterTokenList.java:33)\n\tat > org.apache.nifi.parameter.ExpressionLanguageAgnosticParameterParser.parseTokens(ExpressionLanguageAgnosticParameterParser.java:68)\n\tat > org.apache.nifi.controller.StandardProcessorNode.evaluateParameters(StandardProcessorNode.java:2085)\n\tat > org.apache.nifi.controller.StandardProcessorNode.validateConfig(StandardProcessorNode.java:1237)\n\tat > org.apache.nifi.controller.AbstractComponentNode.computeValidationErrors(AbstractComponentNode.java:771)\n\tat > org.apache.nifi.controller.StandardProcessorNode.computeValidationErrors(StandardProcessorNode.java:1141)\n\tat > org.apache.nifi.controller.AbstractComponentNode.performValidation(AbstractComponentNode.java:735)\n\tat > org.apache.nifi.controller.AbstractComponentNode.performValidation(AbstractComponentNode.java:749)\n\tat > org.apache.nifi.components.validation.StandardValidationTrigger.trigger(StandardValidationTrigger.java:52)\n\tat > org.apache.nifi.components.validation.TriggerValidationTask.run(TriggerValidationTask.java:54)\n\tat > org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)\n\tat > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown > Source)\n\tat java.base/java.util.concurrent.FutureTask.runAndReset(Unknown > Source)\n\tat > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)\n\tat java.base/java.lang.Thread.run(Unknown > Source)"},{"Timestamp":"2024-11-06 > 13:27:09,883","loglevel":"ERROR","logmessage":"[Timer-Driven Process > Thread-6] o.a.nifi.processors.script.ExecuteScript > ExecuteScript[id=fd1e197e-3816-1251-af86-b89df6a8a8fe] Failed to properly > initialize Processor. If still scheduled to run, NiFi will attempt to > initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to Traceback (most recent call > last):\n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/site$py.class\", > line 68, in \n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/warnings$py.class\", > line 8, in ","stackTrace":"AttributeError: 'module' object has no attribute > 'warn'","_raw":"2024-11-06 13:27:09,883 ERROR [Timer-Driven Process > Thread-6] o.a.nifi.processors.script.ExecuteScript > ExecuteScript[id=fd1e197e-3816-1251-af86-b89df6a8a8fe] Failed to properly > initialize Processor. If still scheduled to run, NiFi will attempt to > initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to Traceback (most recent call > last):\n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/site$py.class\", > line 68, in \n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/warnings$py.class\", > line 8, in \nAttributeError: 'module' object has no attribute > 'warn'"},{"Timestamp":"2024-11-06 > 13:27:39,901","loglevel":"ERROR","logmessage":"[Timer-Driven Process > Thread-1] o.a.nifi.processors.script.ExecuteScript > ExecuteScript[id=fd1e197e-3816-1251-af86-b89df6a8a8fe] Failed to properly > initialize Processor. If still scheduled to run, NiFi will attempt to > initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to Traceback (most recent call > last):\n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/site$py.class\", > line 68, in ","stackTrace":"AttributeError: 'module' object has no > attribute 'warn'","_raw":"2024-11-06 13:27:39,901 ERROR [Timer-Driven > Process Thread-1] o.a.nifi.processors.script.ExecuteScript > ExecuteScript[id=fd1e197e-3816-1251-af86-b89df6a8a8fe] Failed to properly > initialize Processor. If still scheduled to run, NiFi will attempt to > initialize and run the Processor again after the 'Administrative Yield > Duration' has elapsed. Failure is due to Traceback (most recent call > last):\n File > \"/opt/nifi/nifi-current/./work/nar/extensions/nifi-scripting-nar-1.24.0.nar-unpacked/NAR-INF/bundled-dependencies/jython-standalone-2.7.3.jar/Lib/site$py.class\", > line 68, in \nAttributeError: 'module' object has no attribute 'warn'"}] > << > > Can you dissolve this failure info maybe? Could you help to understand > this failure or help me to solve the Problem? > The system was not changed before the error. > > Kind regards > > Michael Dang Kim > > Michael Min Dang Kim > E-Business Spezialist > +49 6204 739 1122 > michaelmin.dang...@hommel-hercules.com<mailto: > michaelmin.dang...@hommel-hercules.com> > > > > [https://www.hhw.de/uploads/seiten/HommelHercules-Logo.png] > > Hommel Hercules Werkzeughandel GmbH & Co. KG > Heidelberger Str. 52 | 68519 Viernheim > www.hommel-hercules.com<https://www.hommel-hercules.com/> > > [https://www.hhw.de/uploads/seiten/Email-Signatur_Banner_Deutsch.png]< > https://www.hommel-hercules.com/> > > Besuchen Sie uns im Social Web: [ > https://www.hhw.de/uploads/seiten/Facebook_15px.png] < > https://de-de.facebook.com/HommelHercules> [ > https://www.hhw.de/uploads/seiten/Instagram_15px.png] < > https://www.instagram.com/hommel_hercules/> [ > https://www.hhw.de/uploads/seiten/Linkedin_15px.png] < > https://de.linkedin.com/company/hommel-hercules-werkzeughandel-gmbh-&-co-kg> > [https://www.hhw.de/uploads/seiten/Youtube_15px.png] < > https://www.youtube.com/user/HommelHercules> [ > https://www.hhw.de/uploads/seiten/Xing_15px.png] < > https://www.xing.com/pages/hommelherculeswerkzeughandelgmbh-co-kg> > > Hommel Hercules Werkzeughandel GmbH & Co. KG | Sitz Viernheim | > Amtsgericht Darmstadt HRA 61622 > Komplementär: Hommel Hercules-Meßtechnik Verwaltungs-GmbH | Sitz Künzelsau > | Amtsgericht Stuttgart HRB 590 342 > Geschäftsführer: Dirk Adamczyk >