Page 1 of 1

Abnormal termination in generated source code

Posted: 13 Dec 2018, 07:21
by manakamu
I want to make a EUROMAP77 Server.
I downloaded the Euromap base models and add the XML files(EUROMAP77 and EUROMAP83) to a UaModeler project.
I generated the source code for C++ SDK by UaModeler.

My server result in abnormal termination at TemperatureZoneTypeBase::createType() which is generated by UaModeler.

TemperatureZoneTypeBase::createType()

Code: Select all

s_pActialTemperaure = new OpcUa::AnalogItemType(pChild, &factory, pTypeNodeConfig, NULL);
AnalogItem constructor calls InstanceFacotryEM83::createVariable() which is generated by UaModeler.
InstanceFacotryEM83::createVariable() always returns NULL.

AnalogItem constructor calls setModellingRuleId() from this NULL pointer and ends abnormally.
What is wrong? What can I do for this problem?

Best regards

Re: Abnormal termination in generated source code

Posted: 18 Jan 2019, 07:20
by Support Team
This is a duplicate post.