creddy opened a new pull request, #2267:
URL: https://github.com/apache/fury/pull/2267

   
   <!--
   **Thanks for contributing to Fory.**
   
   **If this is your first time opening a PR on fory, you can refer to 
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).**
   
   Contribution Checklist
   
       - The **Apache Fory (incubating)** community has restrictions on the 
naming of pr titles. You can also find instructions in 
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).
   
       - Fory has a strong focus on performance. If the PR you submit will have 
an impact on performance, please benchmark it first and provide the benchmark 
result here.
   -->
   
   ## What does this PR do?
   
   This PR fixes an issue in Scala. 
   
   Since Scala object's are lazy, the singleton instance doesn't exist or it 
does exist, but its value is `null` so when `SingletonObjectSerializer.read` is 
called we get null. This PR resolves the issue by ensuring that the object is 
loaded before deserialization. 
   
   ## Related issues
   
   https://github.com/apache/fury/issues/2249
   
   


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