OPCF-Members / Opc2Aml

Command line utility to convert OPC UA Nodeset files to AutomationML Libraries for UAFX offline engineering.
MIT License
1 stars 3 forks source link

Exception thrown during conversion #73

Open mm-mgl opened 5 months ago

mm-mgl commented 5 months ago

We have a set of nodeset files and when we want to have the tool process them we get an error: FATAL EXCEPTION Object reference not set to an instance of an object.

Please find attached the zipped nodesets and the report from the tool.

Opc2Aml.report.txt 2024-04-04-bottlemachine.zip

Archie-Miller commented 4 months ago

This is expected behaviour. The Nodeset is missing the required NamespaceUris and Models.

If the following is added `

http://opcfoundation.org/FxShow/BottleMachine/ http://opcfoundation.org/UA/FX/AC/ http://opcfoundation.org/UA/FX/Data/ http://opcfoundation.org/UA/DI/

`

Then it works as expected

bottleMachine.zip