Will demonstrate it simply. I'm just executing the following line:
client.writeValue(nodeId, client.readValue(nodeId));
This reads the value from the server and directly writes it back - No effect. However this works as intended for "Doubles" and "Strings" but when doing this with a node containing a BOOLEAN (UaExpert says it is a boolean), I get the following error/exception:
com.prosysopc.ua.StatusException: Bad_TypeMismatch (0x80740000) "The value supplied for the attribute is not of the same type as the attribute's value." StatusCode=Bad_TypeMismatch (0x80740000) "The value supplied for the attribute is not of the same type as the attribute's value."
How can that be? Is there a bug in the Java API? Or a setting issue in the server?
Huge thanks in advance!