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

java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession #689

Open
imlaptev opened this issue Dec 19, 2024 · 1 comment

Comments

@imlaptev
Copy link

Hey, getting this issue with CoreProtect when villagers die. Not sure what's up, been using CP for years and I haven't had this issue before

[23:25:14 WARN]: java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1200)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[23:25:14 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[23:25:14 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[23:25:14 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[23:25:14 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[23:25:14 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[23:25:14 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[23:25:14 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[23:25:14 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[23:25:14 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[23:25:14 WARN]: at CoreProtect-22.4 (1).jar//net.coreprotect.database.statement.EntityStatement.insert(EntityStatement.java:27)
[23:25:14 WARN]: at CoreProtect-22.4 (1).jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:49)
[23:25:14 WARN]: at CoreProtect-22.4 (1).jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24)
[23:25:14 WARN]: at CoreProtect-22.4 (1).jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205)
[23:25:14 WARN]: at CoreProtect-22.4 (1).jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[23:25:14 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

@MajliTech
Copy link

java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftCat$CraftType

issue exists

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