SimpleClans

SimpleClans

467k Downloads

GUI Drawing lag

Korinocho opened this issue · 9 comments

commented

Sometimes when someone opens the new GUI the server freeze 10-13 seconds. Here is the crash report when it freeze

[19:05:31 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-333 (MC: 1.15.2) ---
[19:05:31 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[19:05:31 ERROR]: ------------------------------
[19:05:31 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[19:05:31 ERROR]: ------------------------------
[19:05:31 ERROR]: Current Thread: Server thread
[19:05:31 ERROR]: PID: 21 | Suspended: false | Native: true | State: RUNNABLE
[19:05:31 ERROR]: Stack:
[19:05:31 ERROR]: java.net.SocketInputStream.socketRead0(Native Method)
[19:05:31 ERROR]: java.net.SocketInputStream.socketRead(Unknown Source)
[19:05:31 ERROR]: java.net.SocketInputStream.read(Unknown Source)
[19:05:31 ERROR]: java.net.SocketInputStream.read(Unknown Source)
[19:05:31 ERROR]: sun.security.ssl.InputRecord.readFully(Unknown Source)
[19:05:31 ERROR]: sun.security.ssl.InputRecord.read(Unknown Source)
[19:05:31 ERROR]: sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
[19:05:31 ERROR]: sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
[19:05:31 ERROR]: sun.security.ssl.AppInputStream.read(Unknown Source)
[19:05:31 ERROR]: java.io.BufferedInputStream.fill(Unknown Source)
[19:05:31 ERROR]: java.io.BufferedInputStream.read1(Unknown Source)
[19:05:31 ERROR]: java.io.BufferedInputStream.read(Unknown Source)
[19:05:31 ERROR]: sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
[19:05:31 ERROR]: sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[19:05:31 ERROR]: sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
[19:05:31 ERROR]: sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[19:05:31 ERROR]: sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
[19:05:31 ERROR]: com.mojang.authlib.HttpAuthenticationService.performPostRequest(HttpAuthenticationService.java:87)
[19:05:31 ERROR]: com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:66)
[19:05:31 ERROR]: com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:55)
[19:05:31 ERROR]: com.destroystokyo.paper.profile.PaperGameProfileRepository.findProfilesByNames(PaperGameProfileRepository.java:45)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.TileEntitySkull$1.load(TileEntitySkull.java:62)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.TileEntitySkull$1.load(TileEntitySkull.java:44)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
[19:05:31 ERROR]: com.google.common.cache.LocalCache.get(LocalCache.java:4154)
[19:05:31 ERROR]: com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
[19:05:31 ERROR]: com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.TileEntitySkull$3.call(TileEntitySkull.java:218)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.TileEntitySkull$3.call(TileEntitySkull.java:215)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.TileEntitySkull.b(TileEntitySkull.java:234)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.inventory.CraftMetaSkull.applyToItem(CraftMetaSkull.java:88)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack.setItemMeta(CraftItemStack.java:518)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack.asNMSCopy(CraftItemStack.java:42)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.inventory.CraftInventory.setItem(CraftInventory.java:99)
[19:05:31 ERROR]: net.sacredlabyrinth.phaed.simpleclans.ui.InventoryDrawer.setComponents(InventoryDrawer.java:105)
[19:05:31 ERROR]: net.sacredlabyrinth.phaed.simpleclans.ui.InventoryDrawer.access$000(InventoryDrawer.java:21)
[19:05:31 ERROR]: net.sacredlabyrinth.phaed.simpleclans.ui.InventoryDrawer$2.run(InventoryDrawer.java:71)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[19:05:31 ERROR]: org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:461)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1256)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1173)
[19:05:31 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:962)
[19:05:31 ERROR]: java.lang.Thread.run(Unknown Source)
[19:05:31 ERROR]: ------------------------------
[19:05:31 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[19:05:31 ERROR]: ------------------------------

Thanks!

commented

Ok. Should i upload my files on drive or something similar so you can test?

commented

Should i upload my files on drive

Sure

commented

Thanks!

commented

Thanks for the fast response time! Cheers

commented

You're welcome.
If you're enjoying the plugin, leave a review on Spigot. :)

commented

I'm working on it.

commented

Love u :)

commented

@Korinocho I think I fixed it.
I need SimpleClan's db file and the playerdata folder to test it.