tebexio / BuycraftX

The official Tebex Plugin (Previously called Buycraft) for a variety of Minecraft Server platforms.
https://tebex.io
MIT License
61 stars 99 forks source link

IndexOutOfBoundsExceptionIndex spam #171

Closed Awakened-Redstone closed 2 years ago

Awakened-Redstone commented 3 years ago

The console of one of the serves of the network I manage is getting IndexOutOfBoundsExceptionIndex exceptions being thrown every so often, I don't know what is the reason and a restart does nothing.

Log of the last time it threw the exception:

[01.02 07:10:21] [Server] [INFO] [BuycraftX] Fetching all due players...
[01.02 07:10:21] [Server] [WARN] [BuycraftX] Plugin BuycraftX v12.0.6 generated an exception while executing task 157024
[01.02 07:10:21] [Server] java.lang.IndexOutOfBoundsExceptionIndex: 0
[01.02 07:10:21] [Server]   at java.util.Collections$EmptyList.get(Collections.java:4481) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:326) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:283) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.RealConnection.connect(RealConnection.java:168) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.BuyCraftAPI$1.intercept(BuyCraftAPI.java:59) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.BuyCraftAPI$2.intercept(BuyCraftAPI.java:53) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.okhttp3.RealCall.execute(RealCall.java:92) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.internal.retrofit2.OkHttpCall.execute(OkHttpCall.java:186) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.execution.DuePlayerFetcher.run(DuePlayerFetcher.java:62) ~[?:?]
[01.02 07:10:21] [Server]   at net.buycraft.plugin.execution.DuePlayerFetcher.run(DuePlayerFetcher.java:38) ~[?:?]
[01.02 07:10:21] [Server]   at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.3.jar:git-Paper-253]
[01.02 07:10:21] [Server]   at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.3.jar:git-Paper-253]
[01.02 07:10:21] [Server]   at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.3.jar:git-Paper-253]
[01.02 07:10:21] [Server]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[01.02 07:10:21] [Server]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[01.02 07:10:21] [Server]   at java.lang.Thread.run(Thread.java:834) [?:?]
[01.02 07:15:21] [Server] [INFO] [BuycraftX] Fetching all due players...
[01.02 07:15:21] [Server] [INFO] [BuycraftX] Fetched due players (0 found).