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

random error spams on console (im using 1.21.3) #694

Open
shpellar opened this issue Jan 2, 2025 · 9 comments
Open

random error spams on console (im using 1.21.3) #694

shpellar opened this issue Jan 2, 2025 · 9 comments

Comments

@shpellar
Copy link

shpellar commented Jan 2, 2025

java.io.NotSerializableException: org.bukkit.craftbukkit.attribute.CraftAttribute
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1200)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[03:06:47 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[03:06:47 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[03:06:47 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[03:06:47 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[03:06:47 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[03:06:47 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[03:06:47 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[03:06:47 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[03:06:47 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[03:06:47 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[03:06:47 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[03:06:47 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[03:06:47 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.database.statement.EntityStatement.insert(EntityStatement.java:28)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:50)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:206)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[03:06:47 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[03:06:47 WARN]: java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.next()" because "resultSet" is null
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:52)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:206)
[03:06:47 WARN]: at CoreProtect-CE-23.0-RC1b.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[03:06:47 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

@quintindunn
Copy link

Getting the same error 1.21.4
Version: 22.4

@quintindunn
Copy link

quintindunn commented Jan 2, 2025

Haven't got the energy to compile the plugin myself to test it, but just saw commit b3db65d. Sounds like it fixes it, I don't believe there's any releases since that commit so good chance that the new version just needs to be released.

Also I have very little experience with Minecraft modding/plugins nor do I know the structure of this project at all so I have no clue if it's even related.

@Neu3BecTHo
Copy link

Haven't got the energy to compile the plugin myself to test it, but just saw commit b3db65d. Sounds like it fixes it, I don't believe there's any releases since that commit so good chance that the new version just needs to be released.

Also I have very little experience with Minecraft modding/plugins nor do I know the structure of this project at all so I have no clue if it's even related.

mm, i late, but you can build the project using maven, in action in build writed, what written from build

@DereC4
Copy link

DereC4 commented Jan 9, 2025

Getting the same error

@RodargDev
Copy link

Getting the same error, will try building myself later today to check if the commit solves the problem

@RodargDev
Copy link

So i can confirm building the latest master commit does resolve this issue, my console is not giving me any errors anymore.

@DereC4
Copy link

DereC4 commented Jan 10, 2025

Compiled myself from the repository itself, looks like this was an issue with the May 2024 release with 1.21

@quintindunn
Copy link

So compiling it from source solves the issue?

@DereC4
Copy link

DereC4 commented Jan 11, 2025

So compiling it from source solves the issue?

Yup seems so, latest builds support the new changes in 1.21 including breeze wind charge explosions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants