11:44, EET
October 29, 2014
When 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
Most Users Ever Online: 1919
Currently Online:
63 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6451
Newest Members:
jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1