davidnadeau opened a new issue, #2021:
URL: https://github.com/apache/fury/issues/2021

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/fury/issues) 
and found no similar issues.
   
   
   ### Version
   
   0.9.0
   
   ### Component(s)
   
   Other, Java
   
   ### Minimal reproduce step
   
   I am trying to deserialize into the scala type: Map[String, String].
   
   ### What did you expect to see?
   
   No error
   
   ### What did you see instead?
   
   ```
   Failed to deserialize key:
   * binary data *
   due to exception: java.lang.ClassCastException: class 
scala.collection.immutable.HashMap cannot be cast to class 
scala.collection.Factory (scala.collection.immutable.HashMap and 
scala.collection.Factory are in unnamed module of loader 'app')"
   ```
   
   ### Anything Else?
   
   I do not see any errors like this in version 0.7.0. In 0.9.0 i've started 
using the new Scala serializers 
   ```scala
   import org.apache.fury.serializer.scala.ScalaSerializers
   ScalaSerializers.registerSerializers(fury)
   ```
   
   I think there is an issue with the scala serializers.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to