I have these lines:
Then I have this:
And I get the following error, it doesn't happen always:
Any suggestions where the problem is?
B4X:
Log(DialogoGestorArchivos.IsInitialized) 'Return True'
Log(LstArchivos.IsInitialized) 'Return True'
Then I have this:
B4X:
Wait For (Dialog.ShowTemplate(LstArchivos, "Abrir", "Compartir", "Cancelar") Complete (Result As Int)
And I get the following error, it doesn't happen always:
B4X:
Error occurred on line: 274 (B4XDialog)
Object was not initialized (UIImage)
Stack Trace: (
CoreFoundation <redacted> + 252
libobjc.A.dylib objc_exception_throw + 56
CoreFoundation <redacted> + 0
MyApp -[B4IObjectWrapper object] + 136
MyApp -[B4XViewWrapper Snapshot] + 580
MyApp -[b4i_b4xdialog _updateblur:] + 552
MyApp -[ResumableSub_b4xdialog_ShowCustom resume::] + 3220
MyApp -[b4i_b4xdialog _showcustom:::::] + 736
MyApp -[ResumableSub_b4xdialog_ShowTemplate resume::] + 1092
MyApp -[b4i_b4xdialog _showtemplate:::::] + 736
MyApp -[ResumableSub_b4xmainpage_AA_DialogoGestorProyectos resume::] + 9064
MyApp -[b4i_b4xmainpage _aa_dialogogestorproyectos:::] + 572
CoreFoundation <redacted> + 144
CoreFoundation <redacted> + 292
MyApp +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1608
MyApp -[B4IShell runMethod:] + 448
MyApp -[B4IShell raiseEventImpl:method:args::] + 2172
MyApp -[B4IShellBI raiseEvent:event:params:] + 1580
MyApp __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
libdispatch.dylib <redacted> + 24
libdispatch.dylib <redacted> + 16
libdispatch.dylib <redacted> + 1068
CoreFoundation <redacted> + 12
CoreFoundation <redacted> + 1924
CoreFoundation CFRunLoopRunSpecific + 436
GraphicsServices GSEventRunModal + 104
UIKitCore UIApplicationMain + 212
MyApp main + 120
libdyld.dylib <redacted> + 4
)
Any suggestions where the problem is?