NPE caused by super eager CloseReportsTask
Closed this issue · 3 comments
CloseReportsTask logs an NPE every 10 seconds. Until the ladybug has started.
2024-07-01 10:05:22,010 ERROR [closeReportsScheduler-1] {} support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task
java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240524.201635.jar:3.0-20240524.201635]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.10.jar:6.1.10]
at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.10.jar:6.1.10]
at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.1.jar:1.13.1]
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.10.jar:6.1.10]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-6.1.10.jar:6.1.10]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:833) [?:?]
It's strange that the Spring scheduler calls the task before the bean is initialized. I could not reproduce it in the test webapp. Documented and fixed it in 5d16619
@jacodg, you told me that you fixed this by putting an if-statement around the code that throws the exception. You assume that way that the testtool variable will eventually be filled. But I verified in the code without the fix that the NPE-s keep on coming for more than a minute. I thus wonder whether the offending variable will ever be set and if the intended service execution will ever happen with the if included.
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:52:18,203 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:52:28,205 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:52:38,207 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:52:48,211 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:52:58,215 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:08,217 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:09,124 WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:09,157 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@1722c8eb, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@1722c8eb, topic=ADAPTER, action=GET, meta-expanded=all, id=bfeadf65-337a-7311-babc-215c562c2c0f, timestamp=1725958389156}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:09,157 The message [GenericMessage [payload=NONE, headers={topic=APPLICATION, action=WARNINGS, replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@70e1a3ee, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@70e1a3ee, id=5dc89c67-e17f-c570-c63f-3ce5ecfc7330, timestamp=1725958389156}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:18,219 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:19,204 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@7ab79cdc, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@7ab79cdc, topic=ADAPTER, action=GET, meta-expanded=all, id=fadb6fbe-1ec8-b0fe-cd18-abec023a5fda, timestamp=1725958399204}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:28,222 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:29,246 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@2318a05f, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@2318a05f, topic=ADAPTER, action=GET, meta-expanded=all, id=224ac7db-2d2a-287d-1621-dca911544e36, timestamp=1725958409246}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:38,224 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:39,278 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@477d90ad, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@477d90ad, topic=ADAPTER, action=GET, meta-expanded=all, id=a43d4641-15aa-5481-9cd9-8ee43f4712a8, timestamp=1725958419277}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:48,225 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:49,313 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@aeac58c, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@aeac58c, topic=ADAPTER, action=GET, meta-expanded=all, id=a1e73d39-e042-c47e-f829-59c9d6d284ea, timestamp=1725958429313}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:58,229 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:53:59,359 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@50ab5782, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@50ab5782, topic=ADAPTER, action=GET, meta-expanded=all, id=f7146ea4-8113-da03-b053-fc6a58c1aa0b, timestamp=1725958439359}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:08,233 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:09,201 The message [GenericMessage [payload=NONE, headers={topic=APPLICATION, action=WARNINGS, replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@1d16987c, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@1d16987c, id=4ae607bc-9050-fae1-e193-32425213abd1, timestamp=1725958449201}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:09,394 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@6748306c, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@6748306c, topic=ADAPTER, action=GET, meta-expanded=all, id=431dfb3a-3c42-8f69-247c-e8ec73b04656, timestamp=1725958449394}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:18,235 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:19,405 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@179de9f6, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@179de9f6, topic=ADAPTER, action=GET, meta-expanded=all, id=17e396eb-7d62-88a3-ab86-6fceddd2a976, timestamp=1725958459405}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:28,236 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:29,445 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@71c1d83c, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@71c1d83c, topic=ADAPTER, action=GET, meta-expanded=all, id=4c2cc226-8aef-ae16-aba9-04abbba0548c, timestamp=1725958469445}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:38,240 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:39,478 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@f79b5b9, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@f79b5b9, topic=ADAPTER, action=GET, meta-expanded=all, id=b71d0fed-8b86-5979-ffed-366415a850e7, timestamp=1725958479478}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:48,242 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:49,522 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@4a645a96, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@4a645a96, topic=ADAPTER, action=GET, meta-expanded=all, id=c916f018-909a-ea27-0a4d-8f4ce0303584, timestamp=1725958489522}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:58,245 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:54:59,557 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@391e3f26, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@391e3f26, topic=ADAPTER, action=GET, meta-expanded=all, id=0c459c91-c2db-5ba2-dc59-94165999dc3f, timestamp=1725958499557}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:55:08,247 Unexpected error occurred in scheduled task
customlogging-custom-logging-1 | java.lang.NullPointerException: Cannot invoke "nl.nn.testtool.TestTool.close(long, long, boolean, boolean, long, long)" because "this.testTool" is null
customlogging-custom-logging-1 | at nl.nn.testtool.CloseReportsTask.closeReports(CloseReportsTask.java:43) ~[ibis-ladybug-3.0-20240806.151958.jar:3.0-20240806.151958]
customlogging-custom-logging-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at io.micrometer.observation.Observation.observe(Observation.java:499) ~[micrometer-observation-1.13.3.jar:1.13.3]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-6.1.12.jar:6.1.12]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
customlogging-custom-logging-1 | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:55:09,238 The message [GenericMessage [payload=NONE, headers={topic=APPLICATION, action=WARNINGS, replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@3dfda6d9, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@3dfda6d9, id=e9e4fc18-d8e2-220f-9979-21a993306151, timestamp=1725958509238}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
customlogging-custom-logging-1 | MYLAYOUT 10 Sep 2024 08:55:09,593 The message [GenericMessage [payload=NONE, headers={replyChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@7e6a034, errorChannel=org.springframework.messaging.core.GenericMessagingTemplate$TemporaryReplyChannel@7e6a034, topic=ADAPTER, action=GET, meta-expanded=all, id=ac938b29-ccb4-3984-17af-4a604e434087, timestamp=1725958509593}]] has been rejected in filter: bean 'wireLogging.filter#0' for component 'wireLogging.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'; defined in: 'org.frankframework.lifecycle.ShowLogDirectory'; from source: 'bean method wireLogging'
Hmm, you are right.
I've reverted my previous workaround:
51f740e
And fixed it in the Frank!Framework:
frankframework/frankframework#7488
frankframework/frankframework#7490
See also:
frankframework/frankframework#7489