ERROR<Exception>: Can't find template typedef_decl.st
ERROR<Exception>: Can't find template typedef_decl.st; group hierarchy is [FastCdrCommon] Exception in thread "main" java.lang.NullPointerException at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:406) at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1490)
The contents of the demo idl file are as follows: struct Dynamic_Struct { uint32 id; uint8 type; uint8 brakeStatus; uint8 LightStatus; uint8 padding_u8_1; uint32 isHighlight; }; typedef Dynamic_Struct Dynamic_Array[64]; struct APA_Dataproperties_Struct { Dynamic_Array dynamicSRData; };
Hi @crazy-lu999,
I attempted to reproduce your error using Fast-DDS-Gen 4.0.3 (our latest version) with the IDL you provided, and it worked without any issues.
Could you let me know which version of Fast-DDS-Gen you are using? Additionally, please provide details about your operating system, Fast-DDS version, and any other relevant information.
Thank you for reporting this issue and sharing the details!
According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity. Please, feel free to reopen it if necessary.