CustomCrafting icon indicating copy to clipboard operation
CustomCrafting copied to clipboard

Plugin is not properly shutting down its async tasks

Open BlackBaroness opened this issue 2 years ago • 0 comments

What happened?

Just warning from server

How can the bug be reproduced?

Expected Behaviour?

Plugin version

CustomCrafting v4.16.3.2, WolfyUtilities v4.16.9.6

Server software

Purpur 1.19.2

Relevant log output

[16:50:58 ERROR]: Nag author: 'WolfyScript' of 'CustomCrafting' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.
[16:50:58 ERROR]: Craft Scheduler Thread - 1 - CustomCrafting Stacktrace
[16:50:58 ERROR]:   [email protected]/sun.nio.ch.Net.connect0(Native Method)
[16:50:58 ERROR]:   [email protected]/sun.nio.ch.Net.connect(Net.java:579)
[16:50:58 ERROR]:   [email protected]/sun.nio.ch.Net.connect(Net.java:568)
[16:50:58 ERROR]:   [email protected]/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
[16:50:58 ERROR]:   [email protected]/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[16:50:58 ERROR]:   [email protected]/java.net.Socket.connect(Socket.java:633)
[16:50:58 ERROR]:   [email protected]/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
[16:50:58 ERROR]:   [email protected]/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174)
[16:50:58 ERROR]:   [email protected]/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
[16:50:58 ERROR]:   [email protected]/sun.net.www.http.HttpClient.openServer(HttpClient.java:532)
[16:50:58 ERROR]:   [email protected]/sun.net.www.http.HttpClient.openServer(HttpClient.java:637)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
[16:50:58 ERROR]:   [email protected]/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
[16:50:58 ERROR]:   [email protected]/java.net.URL.openStream(URL.java:1161)
[16:50:58 ERROR]:   customcrafting-spigot-4.16.3.2.jar//me.wolfyscript.customcrafting.data.patreon.Patron.lambda$new$0(Patron.java:62)
[16:50:58 ERROR]:   customcrafting-spigot-4.16.3.2.jar//me.wolfyscript.customcrafting.data.patreon.Patron$$Lambda$6307/0x00000008018f7230.run(Unknown Source)
[16:50:58 ERROR]:   org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101)
[16:50:58 ERROR]:   org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[16:50:58 ERROR]:   com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[16:50:58 ERROR]:   [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:50:58 ERROR]:   [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:50:58 ERROR]:   [email protected]/java.lang.Thread.run(Thread.java:833)

Submit issue

  • [X] read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
  • [X] searched for and ensured there isn't already an open issue regarding this,
  • [X] are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).

BlackBaroness avatar Jan 26 '23 13:01 BlackBaroness