Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Buffered payment thread shutdown Error #431

Closed
notbike opened this issue Jul 24, 2020 · 7 comments
Closed

Buffered payment thread shutdown Error #431

notbike opened this issue Jul 24, 2020 · 7 comments

Comments

@notbike
Copy link

notbike commented Jul 24, 2020

Bug Report Format

What is the issue/bug you're experiencing?

I'm using a popular plugin "Jobs Reborn", but some jobs are not receiving money. For example, Miner (a job) was suppose to get paid per block broken, instead of money I receive this error in my console:

[19:50:02] [Jobs-BufferedPaymentThread/WARN]: java.lang.NullPointerException
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at net.tnemc.core.common.api.IDFinder.getID(IDFinder.java:139)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at net.tnemc.core.common.api.TNEAPI.hasAccount(TNEAPI.java:182)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at net.tnemc.core.common.api.Economy_TheNewEconomy.hasAccount(Economy_TheNewEconomy.java:67)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at net.tnemc.core.common.api.Economy_TheNewEconomy.depositPlayer(Economy_TheNewEconomy.java:188)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at net.tnemc.core.common.api.Economy_TheNewEconomy.depositPlayer(Economy_TheNewEconomy.java:182)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at com.gamingmesh.jobs.economy.VaultEconomy.depositPlayer(VaultEconomy.java:32)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at com.gamingmesh.jobs.economy.BufferedEconomy.payAll(BufferedEconomy.java:158)
[19:50:02] [Jobs-BufferedPaymentThread/WARN]: at com.gamingmesh.jobs.tasks.BufferedPaymentThread.run(BufferedPaymentThread.java:48)
[19:50:02] [Jobs-BufferedPaymentThread/INFO]: [Jobs] Exception in BufferedPaymentThread, stopping economy payments!
[19:50:02] [Jobs-BufferedPaymentThread/INFO]: [Jobs] Buffered payment thread shutdown.

https://paste.ubuntu.com/p/bYy6bwXZNB/
for easy visibility

I submit the error to the author of the Jobs Reborn, he told me that this is TNE's issue, not Jobs'.
so here I am begging for help.

big fan of the plugin by the way.

How can the issue be reproduced?(i.e. the steps to make the issue occur again)

Install the plugin
instal TNE
start server
join Miner (not all jobs are affected)
break blocks
error appears

TNE version?(exact version number), and whether or not you've made modification to it.

TNE ver. 1.1.9.3. When i type /tne version it says ver 0.1.1.9, no modification

TNE build?(/tne build), and whether or not you've made modification to it.

0.1.1.9d no modification

Modules Loaded?(exact version number), and whether or not you've made modification to it.

no modules

Spigot/Bukkit version?

paper-110, MC ver-1.16.1

Is your server run in online mode?

yes

The exact command you ran w/ arguments?

not relevant

config.yml?(use http://paste.ubuntu.com, and remove your SQL details)

https://paste.ubuntu.com/p/sFXSnHDmyW/

Your latest server log file?(use http://paste.ubuntu.com)

https://paste.ubuntu.com/p/yGXFBCvj3B/

If this is to do with messages/world/player configurations, please include the YAML file for such.(use http://paste.ubuntu.com)

I have no idea if it has to do with these configurations

@ghost
Copy link

ghost commented Jul 24, 2020

+1 I’ve been getting a lot of NPE’s with the IDFinder, in towny as well.

@creatorfromhell
Copy link
Member

Please enable debug mode and provide me with the log with debug enabled

@notbike
Copy link
Author

notbike commented Jul 24, 2020

@creatorfromhell hi, this is my log with TNE debug mode enabled.

https://paste.ubuntu.com/p/rdNYBfS3MR/

thank you for the help, I appreciate it!

@creatorfromhell
Copy link
Member

creatorfromhell commented Jul 24, 2020

@creatorfromhell hi, this is my log with TNE debug mode enabled.

https://paste.ubuntu.com/p/rdNYBfS3MR/

thank you for the help, I appreciate it!

The log linked doesn't have debug enabled for the error? Either way TNE's internals are being reworked as part of a library project I'm doing so this should be patched in it.

@notbike
Copy link
Author

notbike commented Jul 25, 2020

oh really? Is there an ETA?

@creatorfromhell
Copy link
Member

oh really? Is there an ETA?

Not currently, I'm redoing the library to be platform agnostic so it'll take a little longer to piece things together to work for multiple platforms.

@creatorfromhell
Copy link
Member

TNE-1.1.9.3-shaded.zip
try this it fixed the same issue for another user

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants