CoreProtect

CoreProtect

1M Downloads

java.io.NotSerializableException: errors all the time. bugs fix it

Closed this issue · 7 comments

commented

Please fix this console spam in 22.4 instead of sitting on your patreon only builds. That's rude.

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

commented

It's not rude, you're just to greedy to pay 3.50€ for a great donationware plugin.

And if you cant afford 3.50€ you can still compile it from source. Then your knowledge of compiling is the price.

commented

Maybe people are running littles SMP with still griefers and fuckers and we maybe still want to protect our servers by others ways than daily backups that put more than 20Gigs and tons of minutes for resetting a chunk of grief?.

org.bukkit.command.CommandException: Cannot execute command 'co' in plugin CoreProtect v22.4 - plugin is disabled.
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:105) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:450) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:357) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:347) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:341) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2214) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$11(ServerGamePacketListenerImpl.java:2187) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1561) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1251) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Even with building with 1% knowledge i still get thoses errors.
No build how-to anywhere here for specific reasons.

I don't understand why they are making it open source if not free anymore.
Fallen and/or obselete historical plugin.
I won't even talk about the maintainers.

commented

I don't know if it will fix it but theres a newer build which is available for free on Patreon which might be able to help?
https://www.patreon.com/posts/113032756?collection=82277

commented

Maybe people are running littles SMP with still griefers and fuckers and we maybe still want to protect our servers by others ways than daily backups that put more than 20Gigs and tons of minutes for resetting a chunk of grief?.

org.bukkit.command.CommandException: Cannot execute command 'co' in plugin CoreProtect v22.4 - plugin is disabled.
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:105) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:450) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:357) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:347) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.commands.Commands.performCommand(Commands.java:341) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2214) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$11(ServerGamePacketListenerImpl.java:2187) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1561) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1251) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-224-0cf7315]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Even with building with 1% knowledge i still get thoses errors. No build how-to anywhere here for specific reasons.

I don't understand why they are making it open source if not free anymore. Fallen and/or obselete historical plugin. I won't even talk about the maintainers.

’CoreProtect v22.4 - plugin is disabled.’.
This suggests you either:
a) made a configuration mistake
b) you did not self compile the plugin correctly

commented

We have several community-made compilation guides on the discord which will provide support for 1.21.x.

commented

@alzhetv Regarding your points:

Maybe people are running littles SMP with still griefers and fuckers and we maybe still want to protect our servers by others ways than daily backups that put more than 20Gigs and tons of minutes for resetting a chunk of grief?.

You're absolutely right that many people, myself included, run smaller SMPs. However, that doesn't negate the need for robust server protection, nor does it mean avoiding necessary investments. I personally spend around €25 per month on my server and also compensate developers for essential plugins.

The €3.50 is genuinely not a significant expense, especially when you consider the value it adds. Sometimes, achieving the best possible server experience requires a willingness to invest a bit more.

Furthermore, relying solely on a plugin like CoreProtect in place of backups is a misguided approach. Backups are crucial in all situations, regardless of size. My own server backups are around 30GB, and I still perform them regularly. Consider a scenario where a significant glitch is discovered that exploits your server and enriches players unfairly; CoreProtect alone might not be able to fully mitigate the damage. This is just one of many reasons why consistent backups are indispensable.


Even with building with 1% knowledge i still get thoses errors. No build how-to anywhere here for specific reasons.

There are indeed resources available for building. As @Skullians mentioned, there are several community-made compilation guides on the Discord server. After a quick search, I found a helpful resource: Guide for compiling locally or in GitHub directly. It's always a good idea to thoroughly research available documentation before making assumptions or criticizing the lack of information.


I don't understand why they are making it open source if not free anymore. Fallen and/or obselete historical plugin. I won't even talk about the maintainers.

The decision to keep the plugin open source, even with a cost, is likely to build trust and maintain transparency, especially given that it's a plugin that accesses server data. Many users appreciate the ability to inspect the code. What exactly is the issue with it being open source in this context?


Ultimately, it's important to appreciate that this plugin exists at all. Developers dedicate significant time and effort to create and maintain tools like this for the community. Not showing appreciation, especially for a tool that asks for as little as €3.50, undervalues the hard work involved. If you feel strongly about the cost or features, another option is to learn Java and SQL and develop your own CoreProtect-like plugin.

commented

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.