-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【JAVA】deserialize class not found USE withRefTracking(true).requireClassRegistration(false).withCompatibleMode(CompatibleMode.COMPATIBLE).buildThreadSafeFury() #1564
Labels
bug
Something isn't working
Comments
This was referenced Apr 24, 2024
chaokunyang
added a commit
that referenced
this issue
Apr 26, 2024
## What does this PR do? This PR support sdeserialize unexisted array/enum object. For type compatible serialization, deserialization process may not have the class in serialization peer. In such cases, we should support skip object data of unexisted array/enum ## Related issues Closes #1564 ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/incubator-fury/issues/new/choose) describing the need to do so and update the document if necessary. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Version
Version: 0.5.0 (built from source)
OS: macOS
Component(s)
Java
Minimal reproduce step
What did you expect to see?
deserialize
What did you see instead?
After deleting the AssignType file, an error occurred.
Deserialize failed, read objects are: [AssignDetailInfoLog(id=dsa), null]
at org.apache.fury.Fury.handleReadFailed(Fury.java:788)
at org.apache.fury.Fury.deserialize(Fury.java:750)
at org.apache.fury.Fury.deserialize(Fury.java:676)
at org.apache.fury.ThreadLocalFury.deserialize(ThreadLocalFury.java:130)
at alsc.ele.lpd.dispatch.matrix.service.util.FuryUtils.zeroCopyDeserialize(FuryUtils.java:21)
at alsc.ele.lpd.dispatch.matrix.service.tt.Test.main(Test.java:30)
Caused by: java.lang.IllegalStateException: Class alsc.ele.lpd.dispatch.matrix.service.dto.AssignType not found from classloaders [sun.misc.Launcher$AppClassLoader@18b4aac2, sun.misc.Launcher$AppClassLoader@18b4aac2]
at org.apache.fury.resolver.ClassResolver.loadClass(ClassResolver.java:1688)
at org.apache.fury.resolver.ClassResolver.loadBytesToClass(ClassResolver.java:1636)
Anything Else?
deserialize
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: