Hi,

I created devices with dynamic created attributes.
Later I found that I need to change the attributes (removing some).

Then when I run the newly built server program, it exits immediated when started.
And gives no chance to arrive into my code.

The assertion message is;

Tango exception
Severity = ERROR
Error reason = API_AttrNotFound
Desc : e000015 attribute not found
Origin : MultiAttribute::get_attr_by_name

Received a CORBA_Exception
Exiting

When I traced into the place where the assertion took place, it was at Util::polling_configure() in utils_polling.cpp

				Attribute &att = dev_list[j]->get_device_attr()->get_attr_by_name(poll_attr_list[k].c_str());


It seems that the poll_attr_list keeps the old dynamic attributes.


Why is this happen and how to fix this?

Or how to reset or remove existing poll_attr_list when dynamic attributes are changed for existing devices?

All I can do now is deleting all the existing devices and creating new ones, which is quite inconvenient.smile