Plan icon indicating copy to clipboard operation
Plan copied to clipboard

TPS Count Task Disabled due to error Fabric version

Open SulpherStaer opened this issue 1 year ago • 1 comments

Describe the issue

I get an error message at server start. Even restart. Error message remains the same.

Exceptions & Other Logs

[13:04:38] [pool-8-thread-6/ERROR]: [Plan] TPS Count Task Disabled due to error, reload Plan to re-enable.
[13:04:38] [pool-8-thread-6/ERROR]: [Plan] Ran into NoSuchFieldError - logged to ./config/plan/logs/NoSuchFieldError-da9a7c6c4e.txt
[13:04:38] [pool-8-thread-6/ERROR]: [Plan] (INCLUDE CONTENTS OF THE FILE IN ANY REPORTS)
[13:04:38] [pool-8-thread-6/ERROR]: [Plan] What to do: See if a restart fixes this or Report this
da9a7c6c4e - Last occurred: 2024-02-22 Occurrences: 1
---- Context 1 ----
Plan v5.6+build.2614
Fabric 1.20.4
Server v0.95.4+1.20.4 (API), 0.15.7 (loader)

See if a restart fixes this or Report this

---- Stacktrace ----
java.lang.NoSuchFieldError: field_4573
   net.playeranalytics.plan.gathering.FabricSensor.getTPS(FabricSensor.java:51)
   com.djrapitops.plan.gathering.timed.ServerTPSCounter.pulseTPS(ServerTPSCounter.java:123)
   com.djrapitops.plan.gathering.timed.ServerTPSCounter.pulse(ServerTPSCounter.java:83)
   com.djrapitops.plan.gathering.timed.TPSCounter.run(TPSCounter.java:49)
   java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
   java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
   java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   java.base/java.lang.Thread.run(Thread.java:840)

SulpherStaer avatar Feb 22 '24 13:02 SulpherStaer

You need to use a dev build with 1.20.4, get one from Releases

AuroraLS3 avatar Feb 22 '24 13:02 AuroraLS3