Fast-DDS-Gen icon indicating copy to clipboard operation
Fast-DDS-Gen copied to clipboard

ERROR<Exception>: Can't find template typedef_decl.st

Open crazy-lu999 opened this issue 1 year ago • 1 comments

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

crazy-lu999 avatar Jan 02 '25 08:01 crazy-lu999

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!

Javgilavi avatar Jan 10 '25 09:01 Javgilavi

According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity. Please, feel free to reopen it if necessary.

Javgilavi avatar Jun 17 '25 07:06 Javgilavi