I have this code:
Dim COUNTRIES As List
COUNTRIES = parser.NextArray
but happend this error, in b4a yes it works.
Application_Start
Application_Active
JobName = Job1, Success = true
{"NOMBRE":"PLANIFICACION Y MODELADO"}
Response from server: {"NOMBRE":"PLANIFICACION Y MODELADO"}
Error occurred on line: 52 (menuprincipal)
Expected: NSArray, object type: B4IMap
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
ITL Profes -[B4IObjectWrapper setObject:] + 324
ITL Profes +[B4IObjectWrapper createWrapperbject:] + 68
ITL Profes -[B4IJSONParser NextArray] + 96
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
ITL Profes +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
ITL Profes -[B4IShell runMethod:] + 496
ITL Profes -[B4IShell raiseEventImpl:method:args::] + 1846
ITL Profes -[B4IShellBI raiseEvent:eventarams:] + 1280
ITL Profes -[B4ICommon CallSub4::::] + 346
ITL Profes -[B4ICommon CallSub2::::] + 254
ITL Profes -[b4i_httpjob _complete::] + 414
ITL Profes -[b4i_httputils2service _completejob::::] + 752
ITL Profes -[b4i_httputils2service _hc_responsesuccess::] + 296
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
ITL Profes +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
ITL Profes -[B4IShell runMethod:] + 496
ITL Profes -[B4IShell raiseEventImpl:method:args::] + 2060
ITL Profes -[B4IShellBI raiseEvent:eventarams:] + 1280
ITL Profes __61-[B4IHttp URLSession:downloadTask:didFinishDownloadingToURL:]_block_invoke + 244
libdispatch.dylib <redacted> + 372
libdispatch.dylib <redacted> + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF + 718
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1512
CoreFoundation CFRunLoopRunSpecific + 476
CoreFoundation CFRunLoopRunInMode + 106
GraphicsServices GSEventRunModal + 136
UIKit UIApplicationMain + 1440
ITL Profes main + 116
libdyld.dylib <redacted> + 2
)
Dim COUNTRIES As List
COUNTRIES = parser.NextArray
but happend this error, in b4a yes it works.
Application_Start
Application_Active
JobName = Job1, Success = true
{"NOMBRE":"PLANIFICACION Y MODELADO"}
Response from server: {"NOMBRE":"PLANIFICACION Y MODELADO"}
Error occurred on line: 52 (menuprincipal)
Expected: NSArray, object type: B4IMap
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
ITL Profes -[B4IObjectWrapper setObject:] + 324
ITL Profes +[B4IObjectWrapper createWrapperbject:] + 68
ITL Profes -[B4IJSONParser NextArray] + 96
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
ITL Profes +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
ITL Profes -[B4IShell runMethod:] + 496
ITL Profes -[B4IShell raiseEventImpl:method:args::] + 1846
ITL Profes -[B4IShellBI raiseEvent:eventarams:] + 1280
ITL Profes -[B4ICommon CallSub4::::] + 346
ITL Profes -[B4ICommon CallSub2::::] + 254
ITL Profes -[b4i_httpjob _complete::] + 414
ITL Profes -[b4i_httputils2service _completejob::::] + 752
ITL Profes -[b4i_httputils2service _hc_responsesuccess::] + 296
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
ITL Profes +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
ITL Profes -[B4IShell runMethod:] + 496
ITL Profes -[B4IShell raiseEventImpl:method:args::] + 2060
ITL Profes -[B4IShellBI raiseEvent:eventarams:] + 1280
ITL Profes __61-[B4IHttp URLSession:downloadTask:didFinishDownloadingToURL:]_block_invoke + 244
libdispatch.dylib <redacted> + 372
libdispatch.dylib <redacted> + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF + 718
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1512
CoreFoundation CFRunLoopRunSpecific + 476
CoreFoundation CFRunLoopRunInMode + 106
GraphicsServices GSEventRunModal + 136
UIKit UIApplicationMain + 1440
ITL Profes main + 116
libdyld.dylib <redacted> + 2
)