Valandur / Web-API

RESTful web server for Minecraft Sponge including an admin panel
https://valandur.github.io/Web-API/
MIT License
66 stars 17 forks source link

Unknown warn in sponge #138

Closed Emilio25232 closed 3 years ago

Emilio25232 commented 4 years ago

Hello, I have this annoying sponge warn when a player just join to my server. Any idea?

[12:33:25] [Server thread/WARN] [Sponge]: / Owning Mod/Plugin: webapi / [12:33:25] [Server thread/WARN] [Sponge]: / Exception: / [12:33:25] [Server thread/WARN] [Sponge]: / java.lang.ClassCastException: / [12:33:25] [Server thread/WARN] [Sponge]: / java.lang.Float cannot be cast to / [12:33:25] [Server thread/WARN] [Sponge]: / java.lang.Double / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.data.manipulator.mutable.entity.SpongeDamageableData.lambda$registerGettersAndSetters$3(SpongeDamageableData.java:80) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.data.manipulator.mutable.common.AbstractData.set(AbstractData.java:187) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.data.processor.common.AbstractMultiDataSingleTargetProcessor.from(AbstractMultiDataSingleTargetProcessor.java:78) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.data.util.DataProcessorDelegate.from(DataProcessorDelegate.java:110) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.entity.Entity.get(Entity.java:3451) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CachedObject.(CachedObject.java:66) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CachedObject.(CachedObject.java:45) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.player.CachedPlayer.(CachedPlayer.java:139) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CacheService.updatePlayer(CacheService.java:438) / [12:33:25] [Server thread/WARN] [Sponge]: / java.util.Optional.map(Unknown Source) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CacheService.lambda$getPlayer$9(CacheService.java:400) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.WebAPI.runOnMain(WebAPI.java:547) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CacheService.getPlayer(CacheService.java:398) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CacheService.getPlayer(CacheService.java:414) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.message.CachedChatMessage.(CachedChatMessage.java:26) / [12:33:25] [Server thread/WARN] [Sponge]: / valandur.webapi.cache.CacheService.onMessage(CacheService.java:873) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.listener.MessageChannelEventListener_CacheService_onMessage43.handle(Unknown Source) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:381) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:454) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:415) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:465) / [12:33:25] [Server thread/WARN] [Sponge]: / org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:253) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.entity.Entity.bridge$setWorldTracked(Entity.java:6857) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.world.World.handler$zlj000$onEntityRemovedFromWorldMarkAsUntracked(World.java:7502) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.world.World.func_72847_b(World.java:1231) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.world.WorldServer.func_72847_b(WorldServer.java:1128) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.world.World.func_72939_s(World.java:1791) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3928) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) / [12:33:25] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) / [12:33:25] [Server thread/WARN] [Sponge]: / java.lang.Thread.run(Unknown Source) /

[12:33:25] [Server thread/WARN] [Sponge]: / Could not pass DestructEntityEvent$Impl /

[12:33:25] [Server thread/WARN] [Sponge]: / Could not pass the event DestructEntityEvent$Impl to an Event Listener! / [12:33:25] [Server thread/WARN] [Sponge]: / / [12:33:25] [Server thread/WARN] [Sponge]: / Since the event can be modified during the event's listener, there could be adverse side effects of the exception occuring such that duplications or other game breaking issues could exist. Due to the nature of the exception, this is not likely an exception that is covered by SpongeForge or Forge itself, and therefor should be reported to the mod/plugin author first prior to reporting to Sponge or Forge. /

Also, i got this in the server startup stage

[02:17:56] [Server thread/INFO] [webapi]: bStats metrics is present in 1 plugins on this server. Presently, none of them are allowed to send data. Presently, the following 1 plugins are not allowed to send data: [Web-API] To change the enabled/disabled state of any bStats use in a plugin, visit the Sponge config!

LiskoSlayer63 commented 4 years ago

I can confirm this too, floods pretty badly the server console.

gergy008 commented 4 years ago

I can confirm I also have the same error, I was at the time running 5.4.5, I've literally just updated this to 5.4.6 so I'l update if this fixes it