SerializationIsBad

SerializationIsBad

4M Downloads

java.lang.ClassNotFoundException: can't load class io.dogboy.serializationisbad.core.ClassFilteringObjectInputStream

PeterStrick opened this issue ยท 6 comments

commented

Trying to use serializationisbad-1.4.jar as an Java Agent in a 1.19.2 Fabric Server, crashes as soon as a Client either with or without the Java Agent Argument tries to login.

Modpack: All of Fabric 6
Fabric Loader: 0.14.22
java -version:

openjdk version "18.0.2-ea" 2022-07-19
OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-222.04)
OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-222.04, mixed mode, sharing)

uname -a: Linux uwu-server-ubuntu-3-2 5.15.0-1038-oracle #44-Ubuntu SMP Thu Jun 22 03:34:10 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Script used to start the Server:

#!/bin/bash
cd /mnt/Storage/AoF6
sudo java -javaagent:/mnt/Storage/serializationisbad-1.4.jar -Xmx4G -Xms4G -jar fabric.jar

Crash Report: crash-2023-08-10_19.45.14-server.txt

latest.log (with redacted IP): latest.log

serializationisbad-1.4.jar logs at the beginning:
image

commented

Thank you for reporting that issue!
Could you please test if this new version solves your problem? serializationisbad-1.4.1.jar

commented

Thank you for reporting that issue! Could you please test if this new version solves your problem? serializationisbad-1.4.1.jar

Crashed again

crash-2023-08-11_20.58.57-server.txt

latest.log

commented

Alright, I think I found the problem. Could you please try if this version solves your issue? serializationisbad-1.4.1.jar

commented

Alright, I think I found the problem. Could you please try if this version solves your issue? serializationisbad-1.4.1.jar

Server seems to work perfectly with this Version

commented

Alright, thank you for testing.
There will be a fix for this in the next SiB release.

commented

Fixed in version 1.5