You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-06-12 20:47:00.881 [DATA_WRITER Warning] Data serialization returned false -> Function perform_create_new_change
ERROR WRITE SAMPLE!!!
Message: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA with index: 4 SENT
Network traffic capture
No response
The text was updated successfully, but these errors were encountered:
There might be an issue with the data serialization in case the message size is greater than 255 and the extensibility of the message type defined in the .idl is APPENDABLE, which is by default. I will label it as bug. In the meanwhile, you can still accomplish what you are trying to do, setting the extensibility to FINAL in the HelloWorld.idl file as follow:
@final
struct HelloWorld
{
unsigned long index;
string message;
};
and regenerate the types with Fast DDS-GEN. If you haven't installed it yet, you can follow the installation instructions and then the usage guide to regenerate types adding the -replace argument.
As the Dynamic Types refactor has been already introduced in the latest Fast DDS v3.0.0, we internally agreed to close all Dynamic-Types related issues.
We elaborated a Migration guide to help with the upgrade process to this new major release.
Please, feel free to reopen it if the issue persists.
Is there an already existing issue for this?
Expected behavior
The sample is successfully sent regardless of its size.
Current behavior
Depending on the size of the sample, the write() method returns an error code.
Steps to reproduce
This error can be reproduced by modifying HelloWorldExample as follows:
Fast DDS version/commit
v2.14.1
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: