I'm using MQTT. I created the type shown below that contains a string array. I load this array and publish it to MQTT successfully but when I subscribe to the message and try to use the serializator I get the error message shown below. Do I need convert the string to an object or vice versa?
error: java.lang.RuntimeException: java.lang.IllegalArgumentException: field dickddomain.com.Proximate.main$_profilestuff.Ques has type java.lang.String[][], got java.lang.Object[]
error: java.lang.RuntimeException: java.lang.IllegalArgumentException: field dickddomain.com.Proximate.main$_profilestuff.Ques has type java.lang.String[][], got java.lang.Object[]
B4X:
Type ProfileStuff(Desc As String, Picture() As Byte, Ques(31,36) As String)
Dim ProfileIn as ProfileStuff
.....
ProfileIn.initialize
....
Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte)
Dim obj as object
obj = serializator.ConvertBytesToObject(Payload)
' error occurs here