Topic RSS11:44, EET
October 29, 2014
OfflineWhen I try to get the node foir an object instance via
UaNode node = addressSpace.getNode(new NodeId(3, “bps”));
I get the following exception:
Exception in thread “main” com.prosysopc.ua.client.AddressSpaceException: Cannot create node of type Object
at com.prosysopc.ua.client.AddressSpace.getNode(Unknown Source)
at Client.main(Client.java:42)
Caused by: com.prosysopc.ua.nodes.UaNodeFactoryException: Cannot create a new UaNode instance: The constructor(NodeId, QualifiedName, LocalizedText) is not found from class …
at com.prosysopc.ua.client.nodes.UaClientNodeFactory.a(Unknown Source)
at com.prosysopc.ua.client.nodes.UaClientNodeFactory.getConstructor(Unknown Source)
at com.prosysopc.ua.client.nodes.UaClientNodeFactory.getConstructor(Unknown Source)
at com.prosysopc.ua.client.nodes.UaClientNodeFactory.createNode(Unknown Source)
at com.prosysopc.ua.client.NodeCache.createNode(Unknown Source)
… 2 more
The node’s data type is custom and code for this is generated via the codegen tool. I used the same approach as is written down in the codegen ReadmeSample.md
Anyone a clue of what I am doing wrong?
Thanks, Patrick
1 Guest(s)

Log In
Register