Topic RSSException when writing DataValue of UserIdentityToken type into UaVariableNode
June 3, 2024
19:43, EEST
19:43, EEST
hbrackel
Member
Members
Forum Posts: 146
Member Since:
February 21, 2014
February 21, 2014
OfflineGood evening.
I would like to write UserIdentityToken values (AnonymousIdentityToken, UsernameIdentityToken, …) into a server variable named userIdentityToken of DataType UserIdentityToken. All objects and nodes have been generated from nodesets.
When writing the value using myObject.setUserIdentityToken(value) or
when writing the value using myObject.getUserIdentityTokenNode().setValue(DataValue(Variant(value))), an exception is thrown
[…] c.p.ua.server.nodes.UaVariableNode : Error while trying to write structure value to up/down parts
java.lang.IllegalArgumentException: Unknown field: PolicyId
java.lang.IllegalArgumentException: Unknown field: PolicyId
Despite the exception, the values are actually correctly updated in the addressSpace of the server.
What would be the correct approach to update the value of such UserIdentityToken variable without throwing an exception?
Prosys SDK version 5.1.0
Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 52
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
mirau07632, KennethNop, zanekirtley0694, NSoha, Petrunah, johnathanloughma, Epiranto, fmb2021@163.com, berniecebetche1, henrygilley3003Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1
© Simple:Press —

Log In
Register