Abnormal termination in generated source code

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
manakamu
Sr. Member
Sr. Member
Posts: 10
Joined: 13 Dec 2018, 02:08

Abnormal termination in generated source code

Post 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

User avatar
Support Team
Hero Member
Hero Member
Posts: 2666
Joined: 18 Mar 2011, 15:09

Re: Abnormal termination in generated source code

Post by Support Team »

This is a duplicate post.
Best regards
Unified Automation Support Team

Post Reply