Andavin / Images

A custom image loading plugin for Spigot.
66 stars 30 forks source link

Logfile spam NoSuchMethodError 1.17.1 #24

Closed 23Luzi23 closed 3 years ago

23Luzi23 commented 3 years ago

Images 2.2.1 spam my log on 1.17.1 server

https://pastebin.com/yBgF1iws

CloudeLecaw commented 3 years ago

i agree

happens on /spawn and worldchange to us and when pictures in loading chuanks try to "generate". New pictures are not shown to the player until they relog

[21:59:48] [Craft Scheduler Thread - 81/WARN]: [Images] Plugin Images v2.2.1 generated an exception while executing task 184542
java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy.<init>(int)'
    at com.andavin.images.v1_17_R1.MapHelper.destroyMap(MapHelper.java:114) ~[?:?]
    at com.andavin.images.MapHelper.destroyMaps(MapHelper.java:88) ~[?:?]
    at com.andavin.images.image.CustomImageSection.hide(CustomImageSection.java:153) ~[?:?]
    at com.andavin.images.image.CustomImage.refresh(CustomImage.java:180) ~[?:?]
    at com.andavin.images.Images.refreshImages(Images.java:437) ~[?:?]
    at com.andavin.images.Images.lambda$onMove$9(Images.java:256) ~[?:?]
    at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-88]
    at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.1.jar:git-Paper-88]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-88]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    at java.lang.Thread.run(Thread.java:831) [?:?]
CloudeLecaw commented 3 years ago

Are there any news or informations about a upcomming 1.17.1 fix? :3

Camillo82 commented 3 years ago

Can confirm.

After updating to 1.17.1 with the latest plugin version everything seems to work fine, images are being displayed correctly but I'm getting this console spam:

[Images] Plugin Images v2.2.1 generated an exception while executing task 217 java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy.(int)' at com.andavin.images.v1_17_R1.MapHelper.destroyMap(MapHelper.java:114) ~[?:?] at com.andavin.images.MapHelper.destroyMaps(MapHelper.java:88) ~[?:?] at com.andavin.images.image.CustomImageSection.hide(CustomImageSection.java:153) ~[?:?] at com.andavin.images.image.CustomImage.refresh(CustomImage.java:180) ~[?:?] at com.andavin.images.Images.refreshImages(Images.java:437) ~[?:?] at com.andavin.images.Images.lambda$onEnable$2(Images.java:172) ~[?:?] at java.util.HashMap.forEach(HashMap.java:1425) ~[?:?] at com.andavin.images.Images.lambda$onEnable$3(Images.java:166) ~[?:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-100] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.1.jar:git-Paper-100] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-100] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?] at java.lang.Thread.run(Thread.java:831) [?:?]

It is happening when I'm going through nether portal weirdly ???

Any fix most appreciated :)

DrakMC commented 3 years ago

I have the same problem.

Andavin commented 3 years ago

Should be good with the newest update