Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7.0
-
Important
Description
java.util.Collections$UnmodifiableRandomAccessList is not compatible with Eclipse Milo built-in types.
When writing to the OPC-UA driver a simple array of Double, I receive the following error:
[org.eclipse.milo.opcua.stack.core.serialization.OpcUaBinaryStreamEncoder:608]: Not a built-in type: class java.util.Collections$UnmodifiableRandomAccessList
When writing a single value in the array the type is PlcDouble instead of PlcList, and there is no error.
I think that a possible solution could be changing the underlying type, or better to change the getter for the value.
I will try to find myself a solution and I will keep you posted.