philippemarcelino commented on issue #2125:
URL: https://github.com/apache/fury/issues/2125#issuecomment-2762009507

   Hi,
   This update broke *some things*. It's hard to be more specific without 
digging more into the actual changes, but I guess type resolving is broken 
(maybe incomplete refactor of those writeClass occurences?)
   
   Without string compression, I get this error during deserialization:
   `
   Caused by: java.lang.NullPointerException: Cannot read field "serializer" 
because "classInfo" is null
        at 
org.apache.fury.resolver.ClassResolver.getClassInfo(ClassResolver.java:1193)
        at 
org.apache.fury.resolver.ClassResolver.readClassInfo(ClassResolver.java:1818)
        at org.apache.fury.Fury.readNonRef(Fury.java:951)
   `
   
   With string compression, I get a different error:
   `
   Caused by: java.lang.RuntimeException: Unknown coder type 3
        at 
org.apache.fury.serializer.StringSerializer.readCompressedBytesString(StringSerializer.java:234)
        at 
org.apache.fury.serializer.StringSerializer.readJavaString(StringSerializer.java:280)
        at 
org.apache.fury.serializer.StringSerializer.read(StringSerializer.java:135)
        at 
org.apache.fury.serializer.StringSerializer.read(StringSerializer.java:58)
        at 
org.apache.fury.serializer.collection.AbstractCollectionSerializer.readSameTypeElements(AbstractCollectionSerializer.java:697)
        at 
org.apache.fury.serializer.collection.AbstractCollectionSerializer.javaReadWithGenerics(AbstractCollectionSerializer.java:649)
        at 
org.apache.fury.serializer.collection.AbstractCollectionSerializer.readElements(AbstractCollectionSerializer.java:596)
        at 
org.apache.fury.serializer.collection.CollectionSerializer.read(CollectionSerializer.java:73)
   `
   
   So serialization is performed with no error, but I guess the result is just 
corrupted.


-- 
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