Android Question error in compiling

Stephenz43

Member
Licensed User
Longtime User
I just upgraded to 5.50 and started getting the following error during building. Anyone have a reason as to why I'm getting this?

Error description: Cannot cast type: {Type=String,Rank=0, RemoteObject=True} to: {Type=Byte,Rank=1, RemoteObject=True}
 

Stephenz43

Member
Licensed User
Longtime User
The error appears to be thrown from DBRequestManager. I am at a lost as to why the error after using DBRequestmanager successfully for a year
 
Upvote 0

Stephenz43

Member
Licensed User
Longtime User
Can you post the line that causes this error?

Public Sub ExecuteBatch(ListOfCommands As List, Tag As Object)
Dim j As HttpJob
Dim ms As OutputStream
Dim out2 As OutputStream = StartJob(j,ms, Tag)
WriteInt(ListOfCommands.Size, out2)
For Each Command As DBCommand In ListOfCommands
WriteObject(Command.Name, out2)
WriteList(Command.Parameters, out2)
Next
out2.Close
j.PostBytes(link & "?method=batch", ms.ToBytesArray) <----------------------------- compiling stops and crashes
End Sub
 
Upvote 0
Top