magro / kryo-serializers

More kryo serializers
Apache License 2.0
381 stars 120 forks source link

Kryo exception for com.google.common.collect.RegularImmutableBiMap #127

Open csashiuber opened 3 years ago

csashiuber commented 3 years ago

Hi, I am registering the [ImmutableMapSerializer](https://github.com/magro/kryo-serializers/blob/master/src/main/java/de/javakaffee/kryoserializers/guava/ImmutableMapSerializer.java) but get the following exception:

com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): com.google.common.collect.RegularImmutableBiMap

Is there a variation of ImmutableMap that we need to add to ImmutableMapSerializer.java? Thank you!