Grant Holdom

The implementation object 'Model.Address' has already been mapped to the Advisor object...

Discussion created by Grant Holdom on Sep 23, 2009
Latest reply on Sep 24, 2009 by Grant Holdom

Hi,

 

We're having issues creating two variables of the same type in Blaze, as per the following:

 

testPlaceOfBirthAddress is an Address initially
{
 CountryCodeString = "NZL";
 Locality = "Wellington";
}

testAddress1 is an Address initially
{
 CountryCodeString = "AUS";
 Locality = "Sydney";
}

 

Compiles fine, but the code falls over at the created of testAddress1 with "com.blazesoft.engines.rules.NdEvaluationException: testAddress1: Could not instantiate.

The implementation object 'Model.Address' has already been mapped to the Advisor object 'testPlaceOfBirthAddress'. while evaluating (testAddress1 initially {it.CountryCodeString = "AUS", it.Locality = "Sydney"})

 

We are creating other variables of similar types ok.

 

We are using 6.7.1 for .NET.

 

 

Regards,
Grant Holdom.

Outcomes