AEM Service Pack 6.5.4 && 6.5.11 com.codahale.metrics.ScheduledReporter Exception thrown from RRD4JReporter#report.
Why am I getting this error when I am installing a new service pack in my AEM development environment on a new AEM instance? I tried many times of re-installing the Service packs, but I keep on getting this error.
How to replicate my problem.
1. Delete crx-quickstart folder
2. Double click on JAR file
3. Go into http://localhost:4502/crx/packmgr/index.jsp#
4. Upload either 6.5.4 or 6.5.11
Error message:
20.05.2022 09:53:54.333 *ERROR* [metrics-RRD4JReporter-1-thread-1] com.codahale.metrics.ScheduledReporter Exception thrown from RRD4JReporter#report. Exception was suppressed.
java.lang.IllegalStateException: RRD already closed, cannot store this sample
at org.rrd4j.core.RrdDb.store(RrdDb.java:512)
at org.rrd4j.core.Sample.update(Sample.java:194)
at org.apache.sling.commons.metrics.rrd4j.impl.RRD4JReporter.report(RRD4JReporter.java:260)
at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:235) [com.adobe.granite.dropwizard.metrics:3.2.4]
at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:174) [com.adobe.granite.dropwizard.metrics:3.2.4]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
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:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)