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
deserialize fails with java.lang.NullPointerException #1455
Comments
Hi @andyczerwonka , could you provide reproduction code here? I'll debug into your code to find out what happened |
Unfortunately we're in the same situation as we are here. |
Can we improve the log system and insert some info and debug logs into the code? For this situation where reproducible code cannot be provided but is reproducible stably, users can dynamically configure the log level through ENV, and then upload the collected log, we can restore the problem through these logs. But I'm also worried that too many insert points in the code will cause performance degradation. WDYT? @chaokunyang |
The log will be in critical path. If the error happens occasionally, the users may won't enable such log level. If the error happens frequently, we may not need the log to restore the error |
Hi @andyczerwonka , could you reproduce this error locally now? |
## What does this PR do? Some collectionSerializer may overwrite write/read method, then clear element serializer may not got invoked. This PR clears serializer for collection/map to avoid container use wrong serializer for nested elements. ## Related issues #1558 #1455, #1325 and #1176. ## 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. -->
Search before asking
Version
0.5.0-rc2
Component(s)
Java
Minimal reproduce step
We are attempting to replace the latest snapshot with rc2, and we're getting the following exception
What did you expect to see?
We expect it to work.
What did you see instead?
Anything Else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: