I am getting an error when I call the DomainParticipant enable() method. Here are some lines of code in Java that I am using.
final DomainParticipant = participant;
DomainParticipantFactoryQos factoryQos = new DomainParticipantFactoryQos();
DomainParticipantFactory.The ParticipantFactory.get_qos( factoryQos );
factoryQos.entity_factory.autoenable_created_entities = false;
DomainParticipantFactory.The ParticipantFactory.set_qos( factoryQos );