Skip to content

Fatal Exception: Commit 84775d2 (PR #139) #142

@andreasfalah

Description

@andreasfalah

When processing Infomodels that could be converted to AML prior to Commit 84775d2 (PR #139) without errors, an unhandled Exception occurs.

Output:

DirectoryInfo [C:\Users\xxx\Downloads\xml28.10]
Nodeset [C:\Users\xxx\Downloads\xml28.10\se.com.motion.device.01.xml]
Output [device]
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\Opc.Ua.Di.NodeSet2.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\opc.ua.fx.ac.nodeset2.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\opc.ua.fx.data.nodeset2.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\opc.ua.fx.motion.prototyping.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\Opc.Ua.NodeSet2.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\se.com.motion.device.01.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\se.com.ua.motion.ngm.types.xml ...
Loading nodeset: C:\Users\xxx\Downloads\xml28.10\se.com.ua.preconfiguration.xml ...
Processing C:\Users\xxx\Downloads\xml28.10\se.com.motion.device.xml ...
** FATAL EXCEPTION **
Can't find node: ns=1;i=71 Is your nodeset file missing a element?

Remark:

ns=1;i=71 is FxRoot, which is included in http://opcfoundation.org/UA/FX/Data/ listed above.

Callstack:

Opc2Aml.dll!MarkdownProcessor.NodeSetToAML.FindNode<MarkdownProcessor.NodeSet.UANode>(Opc.Ua.NodeId sourceId) Line 163
Opc2Aml.dll!MarkdownProcessor.NodeSetToAML.GetCreatedPathName(MarkdownProcessor.NodeSet.UANode node) Line 2476
Opc2Aml.dll!MarkdownProcessor.NodeSetToAML.GetCreatedPathName(MarkdownProcessor.NodeSet.UANode node) Line 2477
Opc2Aml.dll!MarkdownProcessor.NodeSetToAML.AddNonHierarchicalReferences() Line 2746
Opc2Aml.dll!MarkdownProcessor.NodeSetToAML.CreateAML(string modelPath, string modelName) Line 363
Opc2Aml.dll!Opc2Aml.Entry.ConvertModel(string NodesetFile, string outputFile) Line 124
Opc2Aml.dll!Opc2Aml.Entry.Run(System.IO.FileInfo nodesetFile, System.IO.FileInfo output, bool suppressPrompt) Line 166
Opc2AmlConsole.dll!Opc2AmlConsole.Program.Main(string[] args) Line 160

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions