Currently i cannot find a solution for an release mode problem: i use a list of lists in such style:
I can find the crash in java source code here:
if (_polygonpoints2.getSize()>0) {
Message: java.lang.RuntimeException: Object should first be initialized (List).
As we see, the List.Initialize command is three lines before. Why can asking for the size of a list crash the app?
B4X:
Dim PolygonPoints2 as list
...
PolygonPoints2.Initialize
PolygonPoints2=mFields.Get(i)
If PolygonPoints2.Size>0 Then
For j=0 To PolygonPoints2.Size-1
...
if (_polygonpoints2.getSize()>0) {
Message: java.lang.RuntimeException: Object should first be initialized (List).
As we see, the List.Initialize command is three lines before. Why can asking for the size of a list crash the app?