Error receipt east wing compile in debug mode, you can enviiarme the same message from different classes.
Error occurred on line: 0 (cls_MenuTab)
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[2]
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 292
CoreFoundation <redacted> + 44
copula -[b4i_cls_menutab _initialize:::::] + 478
copula -[b4i_cls_formulario _initialize::::] + 1944
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_cls_formulario _initialize::::] + 616
copula -[b4i_neg_inicio _crearformulario:] + 1012
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_neg_inicio _crearformulario:] + 348
copula -[b4i_neg_inicio _crear_todo:] + 1624
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_neg_inicio _initialize:::] + 502
copula -[b4i_neg_entrarpassword _initialize:::] + 4272
copula -[b4i_cls_main _resetear:] + 2338
copula -[b4i_cls_main _initialize:::] + 1342
copula -[b4i_main _crearformulario] + 2680
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:eventarams:] + 1340
copula __33-[B4I raiseUIEvent:eventarams:]_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
)
Class (b4i_neg_entrarpassword) instance released.
Class (b4i_cls_interprete) instance released.
Class (b4i_neg_db) instance released.
sen code de executejson
Public Sub ExecuteJSON (Consulta As String, StringArgs() As String) As List
Dim table As List
Log(Consulta)
Dim cur As ResultSet = SQL1.ExecQuery2(Consulta, StringArgs)
Dim table As List
table.Initialize
Do While cur.NextRow
Dim m As Map
m.Initialize
For i = 0 To cur.ColumnCount - 1
m.Put(cur.GetColumnName(i), cur.GetString2(i))
Next
table.Add(m)
Loop
cur.Close
registros=table
Return registros
End Sub
Error occurred on line: 0 (cls_MenuTab)
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[2]
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 292
CoreFoundation <redacted> + 44
copula -[b4i_cls_menutab _initialize:::::] + 478
copula -[b4i_cls_formulario _initialize::::] + 1944
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_cls_formulario _initialize::::] + 616
copula -[b4i_neg_inicio _crearformulario:] + 1012
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_neg_inicio _crearformulario:] + 348
copula -[b4i_neg_inicio _crear_todo:] + 1624
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:eventarams:] + 1340
copula +[B4IDebug delegate:::] + 52
copula -[b4i_neg_inicio _initialize:::] + 502
copula -[b4i_neg_entrarpassword _initialize:::] + 4272
copula -[b4i_cls_main _resetear:] + 2338
copula -[b4i_cls_main _initialize:::] + 1342
copula -[b4i_main _crearformulario] + 2680
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:eventarams:] + 1340
copula __33-[B4I raiseUIEvent:eventarams:]_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
)
Class (b4i_neg_entrarpassword) instance released.
Class (b4i_cls_interprete) instance released.
Class (b4i_neg_db) instance released.
sen code de executejson
Public Sub ExecuteJSON (Consulta As String, StringArgs() As String) As List
Dim table As List
Log(Consulta)
Dim cur As ResultSet = SQL1.ExecQuery2(Consulta, StringArgs)
Dim table As List
table.Initialize
Do While cur.NextRow
Dim m As Map
m.Initialize
For i = 0 To cur.ColumnCount - 1
m.Put(cur.GetColumnName(i), cur.GetString2(i))
Next
table.Add(m)
Loop
cur.Close
registros=table
Return registros
End Sub