SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hi Jeff,
I have upgraded my SmartConnector Update processor to version 2.4.7. FindOrCreateProcessorValue api is throwing run time exception before it was working in old version. Please advise.
My code:
ProcessorValue _processorValueLastUpdate = this.FindOrCreateProcessorValue(ApplicationDefinitions.CMMSLastUpdate);
Exception --- {"Object reference not set to an instance of an object."}
Source - "Mongoose.Common”
StackTrace " at Mongoose.Common.Data.ExtensionMethods.FindOrCreateProcessorValue(IProcessorValueHelper helper, String key, String group, String aggregate, DataPointValueType valueType)\r\n at SmartConnector.Extension.CMMS.UpdateProcessor.Execute_Subclass() “
Thanks!
Neeraj Tomar
Link copied. Please paste this link to share this article on your social media post.
THis was looked into and the issue was because the Unit test project in Visual Studio was still using the Mongoose.Process.Test NuGet package that was deprecated in version 2.3. Once the new Mongoose.Test project was used, this issue went away.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.