Is there a limit to the size of a List?

GlenAlan

Member
Licensed User
Longtime User
When trying to extract the 101st element of a List created from a JSON string, I get the following error:

AccNo= m.Get("AccNo"): java.lang.RuntimeException: Object should first be initialized (Map).

Here is the Code that generates the error ("QueryList" is Dim'd as a List in the Process Globals section of the Main module).

(The Main.QueryList.Size is 182)

For i = 0 To Main.QueryList.Size - 1
Dim m As Map
m = Main.QueryList.Get(i)
AccNo = m.Get("AccNo") '<<< the error happens here when =101
AccName = m.Get("Name")
Balance = NumberFormat2(m.Get("Balance"), 0, 2, 2, True)
Table1.AddRow(Array As String(AccNo, AccName, Balance))
Next
 
Top