Zuplyx opened a new issue, #3118:
URL: https://github.com/apache/fory/issues/3118

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/fory/issues) 
and found no similar issues.
   
   
   ### Version
   
   All tests were executed with Java 21.
   The last working Fory version is 0.12.3. I tested with the current version 
(0.14.1)
   
   ### Component(s)
   
   Java
   
   ### Minimal reproduce step
   
   For reproduction I created the following project: 
https://github.com/Zuplyx/ForyBug
   
   ### What did you expect to see?
   
   Serialization should complete successfully, as it did with versions<=0.12.3
   
   ### What did you see instead?
   
   I got an exception:
   
   ````
   java.lang.RuntimeException: Create sequential serializer failed, 
   class: class schemacrawler.crawl.MutableTableConstraintColumn
        at 
org.apache.fory.serializer.CodegenSerializer.loadCodegenSerializer(CodegenSerializer.java:52)
        at 
org.apache.fory.resolver.ClassResolver.lambda$getObjectSerializerClass$3(ClassResolver.java:1158)
        at 
org.apache.fory.builder.JITContext.registerSerializerJITCallback(JITContext.java:121)
        at 
org.apache.fory.resolver.ClassResolver.getObjectSerializerClass(ClassResolver.java:1156)
        at 
org.apache.fory.resolver.ClassResolver.getSerializerClass(ClassResolver.java:1110)
        at 
org.apache.fory.resolver.ClassResolver.getSerializerClass(ClassResolver.java:988)
        at 
org.apache.fory.resolver.ClassResolver.createSerializer(ClassResolver.java:1377)
        at 
org.apache.fory.resolver.ClassResolver.getClassInfo(ClassResolver.java:1250)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.writeChunk1$(NamedObjectListForyRefCodec_0.java:168)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.writeFields1$(NamedObjectListForyRefCodec_0.java:218)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.write(NamedObjectListForyRefCodec_0.java:433)
        at 
schemacrawler.crawl.MutablePrimaryKeyForyRefCodec_0.writeFields$(MutablePrimaryKeyForyRefCodec_0.java:99)
        at 
schemacrawler.crawl.MutablePrimaryKeyForyRefCodec_0.write(MutablePrimaryKeyForyRefCodec_0.java:397)
        at 
schemacrawler.crawl.MutableTableForyRefCodec_0.writeFields$(MutableTableForyRefCodec_0.java:109)
        at 
schemacrawler.crawl.MutableTableForyRefCodec_0.write(MutableTableForyRefCodec_0.java:612)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.writeChunk1$(NamedObjectListForyRefCodec_0.java:188)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.writeFields1$(NamedObjectListForyRefCodec_0.java:218)
        at 
schemacrawler.crawl.NamedObjectListForyRefCodec_0.write(NamedObjectListForyRefCodec_0.java:433)
        at 
schemacrawler.crawl.MutableCatalogForyRefCodec_0.writeFields1$(MutableCatalogForyRefCodec_0.java:138)
        at 
schemacrawler.crawl.MutableCatalogForyRefCodec_0.write(MutableCatalogForyRefCodec_0.java:416)
        at org.apache.fory.Fory.writeData(Fory.java:654)
        at org.apache.fory.Fory.write(Fory.java:405)
        at org.apache.fory.Fory.serialize(Fory.java:325)
        ... 3 more
   Caused by: java.lang.RuntimeException: 
org.apache.fory.codegen.CodegenException: Compile error: 
   ````
   
   Full Stacktrace is in the attached file: 
   
   [stack.txt](https://github.com/user-attachments/files/24525199/stack.txt)
   
   ### 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]

Reply via email to