iOS Question Error in Combo from Derek Johnson

Humberto

Active Member
Licensed User
Longtime User
The combo class works but when I try to call again the same page to expand a help text I get this error

B4X:
*** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.60.12/UITableView.m:1390
Error occurred on line: 454 (Combo)
attempt to delete section 0, but there are only 0 sections before the update
Stack Trace: (
  CoreFoundation       <redacted> + 150
  libobjc.A.dylib      objc_exception_throw + 38
  CoreFoundation       <redacted> + 0
  Foundation           <redacted> + 92
  UIKit                <redacted> + 3896
  UIKit                <redacted> + 422
  UIKit                <redacted> + 40
  Combo                -[B4ITableView ReloadSection:] + 104
  Combo                -[b4i_combo _addsingleline:::] + 1344
  Combo                -[b4i_futuro _monta_localizar_endereco_futuro] + 28604
Combo                -[b4i_main _callback_futuro] + 610
CoreFoundation       <redacted> + 68
CoreFoundation       <redacted> + 292
Combo                +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
Combo                -[B4IShell runMethod:] + 574
Combo                -[B4IShell raiseEventImpl:method:args::] + 1998
Combo                -[B4IShellBI raiseEvent:event:params:] + 1442
Combo                __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
Combo                main + 108
libdyld.dylib        <redacted> + 2

I wrote a small program to show the error

When I click in a button "Show Help" or "Hide Help" the program crash

then I run again the the Help Text is showing or Hidding OK.
 

Attachments

  • combo.zip
    24 KB · Views: 208
Top