PlayPro / CoreProtect

CoreProtect is a blazing fast data logging and anti-griefing tool for Minecraft servers.
Artistic License 2.0
638 stars 314 forks source link

console spam #607

Open W07M0 opened 1 month ago

W07M0 commented 1 month ago

[18:52:11 WARN]: java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1200) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) [18:52:11 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948) [18:52:11 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [18:52:11 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580) [18:52:11 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) [18:52:11 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948) [18:52:11 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [18:52:11 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580) [18:52:11 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) [18:52:11 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.database.statement.EntityStatement.insert(EntityStatement.java:28) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:49) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) [18:52:11 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583) [18:52:11 WARN]: java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.next()" because "resultSet" is null [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:51) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205) [18:52:11 WARN]: at CoreProtect-Edge-23.0-rc1.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) [18:52:11 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

Skullians commented 1 month ago

https://github.com/PlayPro/CoreProtect/issues/600#issuecomment-2265229174

W07M0 commented 1 month ago

This happen after villager is killed

Skullians commented 1 month ago

Read my comment.

Skullians commented 1 month ago

‘related to villagers…’

Steven-OS commented 1 month ago

Hopefully this is fixed for 1.21 soon... the spam is real.

Skullians commented 1 month ago

Did you uh Read my comment???

tticehurst commented 1 month ago

The fact it's taking this long for a 1.21 update is insane

Steven-OS commented 1 month ago

Did you uh Read my comment???

I did, but no average person will know how to compile a jar. Even though yes I can, that won't fix the issue for the average person, hence why this needs to be updated for everyone.

Skullians commented 1 month ago

Did you uh Read my comment???

I did, but no average person will know how to compile a jar. Even though yes I can, that won't fix the issue for the average person, hence why this needs to be updated for everyone.

in my comment: ‘join the discord and I have a guide there that you can follow’

Skullians commented 1 month ago

A v23 jarfile will be released publicly free in a couple weeks iirc