11:38, EET
June 28, 2016
Hello,
I have an OPC UA node (server side) with a java class that monitors (1-second interval) an array variable of custom data (i called it “monitorData”). On the client side I created a subscription to monitorData, so, when it changes on the server, I receive the updated data on the client GUI.
When I run both OPC UA client and server locally on a Windows PC, all works perfectly, but if I run the OPC UA server on an ARM 32bit board with a Debian Linux, I obtain the following error message:
org.opcfoundation.ua.encoding.DecodingException: Bad_DecodingError (code=0x80070000, description=”Unexpected NodeId Encoding Byte -1″)
12/15/2016 10:54:10.754 INFO handleNotificationData: Failed to decode notification org.opcfoundation.ua.builtintypes.ExtensionObject@ab42ff60:
org.opcfoundation.ua.encoding.DecodingException: Bad_DecodingError (code=0x80070000, description=”Unexpected NodeId Encoding Byte -1″)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getNodeId(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObjectArray(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getArrayObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$184.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getEncodeableArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$183.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.builtintypes.ExtensionObject.decode(Unknown Source)
at org.opcfoundation.ua.builtintypes.ExtensionObject.decode(Unknown Source)
at org.opcfoundation.ua.builtintypes.ExtensionObject.decode(Unknown Source)
at com.prosysopc.ua.client.Subscription.a(Unknown Source)
at com.prosysopc.ua.client.Subscription.handleNotificationDatas(Unknown Source)
at com.prosysopc.ua.client.UaClient$a.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Where’s the problem?
Thanks in advance.
Cheers
Alessandro
17:31, EET
April 17, 2013
Hi,
The error message states that the client could not decode a value that was received from the server. More specifically, the first byte of an encoded NodeId was not recognized.
Most likely the reason is that the server application does not encode the value correctly. It’s hard to say what’s going wrong in the server application based on this information.
Is the server also made with Prosys OPC UA Java SDK? And do you use the completely same server on both platforms?
10:06, EET
June 28, 2016
Hi Heikki,
yes, both client and server were made with Prosys OPC UA Java SDK and I use the completely same server on both platforms.
In the meanwhile I was thinking: could it depend on the default chararacter set encoding used by the serializer? I noticed that it differs between the two platforms.
10:58, EET
April 17, 2013
Hi,
There’s something going wrong and it seems to be related to the ARM platform in question, but the character encoding has probably nothing to do with this.
We haven’t heard about a similar error previously. In our own tests we have used some ARM platforms such as Raspberry Pi and they have previously worked nicely.
Please provide some additional information about the ARM platform and JRE that you use.
Most Users Ever Online: 1919
Currently Online:
28 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: 730
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, DeakinModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1