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

The console is spamming with warnings #7687

Closed
Ninterno opened this issue Nov 30, 2024 · 0 comments · Fixed by #7678
Closed

The console is spamming with warnings #7687

Ninterno opened this issue Nov 30, 2024 · 0 comments · Fixed by #7678
Assignees
Milestone

Comments

@Ninterno
Copy link

What steps will reproduce the problem?

I created a new city and after that the following warning starts spamming into the console

I'm sorry if something is not clear - I'm translating from a translator

What is the expected output?

[13:07:54 WARN]: [Towny] Async task for Towny v0.101.0.0 generated an exception
java.lang.IncompatibleClassChangeError: Method 'org.bukkit.attribute.Attribute org.bukkit.attribute.Attribute.valueOf(java.lang.String)' must be Methodref constant
at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.getMaxHealthAttribute(HealthRegenTimerTask.java:105) ~[Towny-0.101.0.0.jar:?]
at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.evaluateHealth(HealthRegenTimerTask.java:81) ~[Towny-0.101.0.0.jar:?]
at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.evaluatePlayer(HealthRegenTimerTask.java:63) ~[Towny-0.101.0.0.jar:?]
at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.run(HealthRegenTimerTask.java:44) ~[Towny-0.101.0.0.jar:?]
at com.palmergames.bukkit.towny.scheduling.TaskScheduler.lambda$runAsyncRepeating$11(TaskScheduler.java:122) ~[Towny-0.101.0.0.jar:?]
at com.palmergames.bukkit.towny.scheduling.impl.FoliaTaskScheduler.lambda$runAsyncRepeating$8(FoliaTaskScheduler.java:145) ~[Towny-0.101.0.0.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaAsyncScheduler$AsyncScheduledTask.run(FoliaAsyncScheduler.java:217) ~[purpur-1.20.1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Towny version

Towny v0.101.0.0

Server version

PurPur 1.20.1

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
  2. Your Towny config.yml:
  3. Your townyperms.yml:
  4. Your log's error:

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

@Ninterno Ninterno added the bug label Nov 30, 2024
@Warriorrrr Warriorrrr linked a pull request Nov 30, 2024 that will close this issue
1 task
@LlmDl LlmDl added this to the 0.101.1.0 milestone Nov 30, 2024
LlmDl added a commit that referenced this issue Nov 30, 2024
    - Closes #7687.
  - Make the npc prefix check less strict and more precise, courtesy of
Warrior with PR #7688.
  - Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to
3.5.2.
  - Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to
3.11.1.
  - Bump org.apache.logging.log4j:log4j-core from 2.24.1 to 2.24.2.
  - Bump com.zaxxer:HikariCP from 6.0.0 to 6.2.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants