Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Villager was squished too much" warning #657

Closed
AndreiWasFound opened this issue Oct 22, 2024 · 2 comments
Closed

"Villager was squished too much" warning #657

AndreiWasFound opened this issue Oct 22, 2024 · 2 comments

Comments

@AndreiWasFound
Copy link

Using CoreProtect v22.4 I get this warning message every time one of my villagers dies in my villager farm. There is not any problem with it, i don't think it affects me in any way but indeed this looks like a bug.

[16:46:28 INFO]: Villager Villager['Villager'/1896, uuid='b701639d-3727-4024-b0a9-f4af004090e9', l='ServerLevel[world]', x=-302.30, y=61.00, z=12.84, cpos=[-19, 0], tl=132974, v=true] died, message: 'Villager was squished too much' [16:46:29 WARN]: java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(Unknown Source) [16:46:29 WARN]: at java.base/java.util.ArrayList.writeObject(Unknown Source) [16:46:29 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) [16:46:29 WARN]: at java.base/java.lang.reflect.Method.invoke(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(Unknown Source) [16:46:29 WARN]: at java.base/java.util.ArrayList.writeObject(Unknown Source) [16:46:29 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) [16:46:29 WARN]: at java.base/java.lang.reflect.Method.invoke(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source) [16:46:29 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(Unknown Source) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.database.statement.EntityStatement.insert(EntityStatement.java:27) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:49) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) [16:46:29 WARN]: at java.base/java.lang.Thread.run(Unknown Source) [16:46:29 WARN]: java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.next()" because "resultSet" is null [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:51) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205) [16:46:29 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) [16:46:29 WARN]: at java.base/java.lang.Thread.run(Unknown Source)

@vacla
Copy link
Contributor

vacla commented Oct 22, 2024

Fixed in V23.0 , download see: https://www.patreon.com/posts/113032756

Copy link

stale bot commented Dec 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 28, 2024
@stale stale bot closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants