Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DelegatingSerializationFilter Could not set ObjectFilter: null warning message is repetitively appearing in console

enter image description here

Not having any clue why is that.

Help would be appreciated. Thanks

like image 681
Sam Avatar asked Dec 18 '25 10:12

Sam


1 Answers

Use

-Djdk.serialSetFilterAfterRead=true

See the following for more details

https://issues.redhat.com/browse/KEYCLOAK-15901

Seems like the problem is caused by ObjectInputStream.setObjectFilter (on Java 9 - 11) respective ObjectInputStream.setInternalObjectInputFilter (in Java 8) throws IllegalStateException("filter can not be set after an object has been read")

like image 85
Ian Avatar answered Dec 21 '25 02:12

Ian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!