Custom CORBA code is not populating model handles when extracted:
for( int j = 0; j<count; j++ ){// dump data
String mHandle = "", mName = "";
try{
CsCAttrValList valList = avlom.list[j].attrValList;
if( valList.list[0].value.discriminator() == CsCValueType_e.CSC_MODEL_ID)
mHandle = getHexString(valList.list[0].value.modelID());
if( valList.list[1].value.discriminator() == CsCValueType_e.CSC_TEXT_STRING)
mName = valList.list[1].value.textString();
}catch(Exception ex){Logger.error(this.domainName+"\tException :getDevs::for(): " + ex.getMessage());}
Release : 10.4.1
Component : Spectrum Core / SpectroSERVER
The model handle is being formulated like this
mHandle = getHexString(valList.list[0].value.modelID());
Its not required to fetch the model handle from the server when you already have DomainID and ModelID. We can avoid one lookup for SS. We can just fetch the model_name from SS.
Change the above code to be this:
mHandle = getHexString(avlom.list[j].modelDomainID + avlom.list[j].modelID);