iOS Question error running in debug

abarnett

Member
Licensed User
Longtime User
using b4i-bridge and running program in debug I am getting the following error SOMETIMES, which makes no sense. Any ideas, anyone.

*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[2]

I am building a string ;
lsCommandSQL= " <DeviceChannels xmlns='http://itrack.global/iSMobile'>" & _

lsCommandSQL is dimensioned in process globals
 

didasoft de colombia

Member
Licensed User
Longtime User
Application_Start
Application_Active
Error occurred on line: 0 (cls_DB)
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 292
CoreFoundation <redacted> + 44
copula -[b4i_cls_db _executejson:::] + 394
copula -[b4i_cls_db _query::] + 944
copula -[b4i_neg_db _query_datos_del_prestador::] + 1946
copula -[b4i_main _page1_appear] + 3858
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
copula +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
copula -[B4IShell runMethod:] + 574
copula -[B4IShell raiseEventImpl:method:args::] + 2212
copula -[B4IShellBI raiseEvent:event:params:] + 1340
copula __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib <redacted> + 1524
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1574
CoreFoundation CFRunLoopRunSpecific + 520
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
copula main + 108
libdyld.dylib <redacted> + 2
)
 
Upvote 0
Top