yoohaemin opened a new issue, #1805: URL: https://github.com/apache/fury/issues/1805
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/fury/issues) and found no similar issues. ### Version 0.7.0 Java 22 Linux Scala 3.3.3 ZIO 2.1.7 ### Component(s) Java, Other ### Minimal reproduce step Please see: https://github.com/yoohaemin/fury-bugreport/blob/df47c881521607d09367c3b33b6ecb33e8ad9ed5/src/main/scala/Main4.scala ### What did you expect to see? Deserialization success ### What did you see instead? Initially: ``` Exception in thread "main" Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "main" ``` However, NPE seems to be an issue in the zio library (field is not yet initialized and tried to do `.toString`) With debugger: ``` java.lang.ArrayIndexOutOfBoundsException: Index 179 out of bounds for length 5 at org.apache.fury.resolver.MetaStringBytes.decode(MetaStringBytes.java:69) at org.apache.fury.resolver.ClassResolver.populateBytesToClassInfo(ClassResolver.java:1708) at org.apache.fury.resolver.ClassResolver.loadBytesToClassInfo(ClassResolver.java:1699) at org.apache.fury.resolver.ClassResolver.readClassInternal(ClassResolver.java:1588) at org.apache.fury.serializer.ReplaceResolveSerializer.readObject(ReplaceResolveSerializer.java:310) at org.apache.fury.serializer.ReplaceResolveSerializer.read(ReplaceResolveSerializer.java:305) at zio.Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.readField$(Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.java:153) at zio.Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.readSeparateTypesHashFields$(Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.java:193) at zio.Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.read(Chunk_SingletonFuryRefCompatibleCodec_1_414493378_1392906938.java:289) at org.apache.fury.serializer.collection.CollectionSerializers$DefaultJavaCollectionSerializer.read(CollectionSerializers.java:715) at test4.B_KOFuryRefMetaShared6541939900001207120Codec_1_414493378_2143437117.read(B_KOFuryRefMetaShared6541939900001207120Codec_1_414493378_2143437117.java:103) at org.apache.fury.Fury.readDataInternal(Fury.java:955) at org.apache.fury.Fury.readRef(Fury.java:857) at org.apache.fury.Fury.deserialize(Fury.java:789) at org.apache.fury.Fury.deserialize(Fury.java:711) at test4.Main$.main(Main4.scala:36) at test4.Main.main(Main4.scala) ``` ### Anything Else? _No response_ ### 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]
