chaokunyang commented on issue #2125: URL: https://github.com/apache/fury/issues/2125#issuecomment-2769604653
> That's... interesting. What breaks the execution is to explicitely set withCodeGen to false (for now I'm forced to NOT use code generation because of another bug related to [#2062](https://github.com/apache/fury/issues/2062) than produces NPEs) > > So if you simply turn code gen off, you should experience the issue. And reverting this one commit fixed the issue (well at least with version from last week as I can't easily revert the commit now because of some conflicts with latest commit [a37cc55](https://github.com/apache/fury/commit/a37cc5513dd60c1995faa0998ac8c185d8337ce6)). > > ``` > public class FuryTest { > > Map<String, Object> m = new HashMap<>(); > > public static void main(final String[] args) { > > FuryTest a = new FuryTest(); > a.m = new LinkedHashMap<>(); > a.m.put("a", Map.of("a", "1", "b", 1, "c", List.of("c1", "c2"))); > > Fury fury = Fury.builder() > .withCodegen(false) > .requireClassRegistration(false) > .build(); > > fury.deserialize(fury.serialize(a)); > } > > } > ``` Fixed in https://github.com/apache/fury/pull/2136 -- 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]
