Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Error #15

Closed
BraveBurster opened this issue Apr 13, 2018 · 4 comments
Closed

Console Error #15

BraveBurster opened this issue Apr 13, 2018 · 4 comments

Comments

@BraveBurster
Copy link

@BraveBurster BraveBurster commented Apr 13, 2018

Hi, i'm using craftbukkit 1.8.8, and i keep getting 1 error on my console:

13.04 11:55:01 [Server] WARN java.lang.NoSuchFieldException: recentTps
13.04 11:55:01 [Server] WARN at java.lang.Class.getField(Class.java:1703)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.getTps(TabList.java:736)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.replaceVariables(TabList.java:679)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList$8.run(TabList.java:617)
13.04 11:55:01 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
13.04 11:55:01 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
13.04 11:55:01 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13.04 11:55:01 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13.04 11:55:01 [Server] WARN at java.lang.Thread.run(Thread.java:748)
13.04 11:55:01 [Server] WARN java.lang.NoSuchFieldException: recentTps
13.04 11:55:01 [Server] WARN at java.lang.Class.getField(Class.java:1703)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.getTps(TabList.java:736)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.replaceVariables(TabList.java:679)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList$8.run(TabList.java:617)
13.04 11:55:01 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
13.04 11:55:01 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
13.04 11:55:01 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13.04 11:55:01 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13.04 11:55:01 [Server] WARN at java.lang.Thread.run(Thread.java:748)
13.04 11:55:01 [Server] WARN java.lang.NoSuchFieldException: recentTps
13.04 11:55:01 [Server] WARN at java.lang.Class.getField(Class.java:1703)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.getTps(TabList.java:736)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList.replaceVariables(TabList.java:679)
13.04 11:55:01 [Server] WARN at hu.montlikadani.TabList.TabList$8.run(TabList.java:617)
13.04 11:55:01 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
13.04 11:55:02 [Multicraft] Skipped 14 lines due to rate limit (30/s)
13.04 11:55:02 [Server] WARN java.lang.NoSuchFieldException: recentTps
13.04 11:55:02 [Server] WARN at java.lang.Class.getField(Class.java:1703)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList.getTps(TabList.java:736)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList.replaceVariables(TabList.java:679)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList$8.run(TabList.java:617)
13.04 11:55:02 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
13.04 11:55:02 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
13.04 11:55:02 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13.04 11:55:02 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13.04 11:55:02 [Server] WARN at java.lang.Thread.run(Thread.java:748)
13.04 11:55:02 [Server] WARN java.lang.NoSuchFieldException: recentTps
13.04 11:55:02 [Server] WARN at java.lang.Class.getField(Class.java:1703)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList.getTps(TabList.java:736)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList.replaceVariables(TabList.java:679)
13.04 11:55:02 [Server] WARN at hu.montlikadani.TabList.TabList$8.run(TabList.java:617)
13.04 11:55:02 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
13.04 11:55:02 [Server] WARN at 
@BraveBurster
Copy link
Author

@BraveBurster BraveBurster commented Apr 13, 2018

Well i switched to spigot and now it works fine ;)

@montlikadani
Copy link
Owner

@montlikadani montlikadani commented Apr 13, 2018

No problem. This is an error that does not work with the CraftBukkit version.

@montlikadani
Copy link
Owner

@montlikadani montlikadani commented Apr 28, 2018

For now, %tps% placeholder will not work on CraftBukkit versions. So this long console error does not send.

@montlikadani
Copy link
Owner

@montlikadani montlikadani commented Oct 4, 2020

CraftBukkit versions is outdated thing. I recommend you to update at least to Spigot which is supported and also had recentTps field and plugin can retrieve tps value from server. This issue never get fix in the future, but this error never pops up. The tps value always being 20.0 on CB versions. There is a way to fix this, but not going to implement long math calculations into this plugin only for 1.8 versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants