iOS Question [ B4X Pages ] exception on run default code

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
hello everyone !!

i am trying run default code of > B4XPages on B4i 6.80

and show this exception :

B4X:
Copying updated assets files (1)
Application_Start
Error occurred on line: 315 (B4XPagesManager)
Object was not initialized (UINavigationController)
Stack Trace: (
  CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 1250136
  libobjc.A.dylib      objc_exception_throw + 60
  CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 136476
  CobreDelivery        -[B4IObjectWrapper object] + 136
  CobreDelivery        -[B4INavigationControllerWrapper ShowPage2::] + 84
  CobreDelivery        -[b4i_b4xpagesmanager _showpageimpl::] + 704
  CobreDelivery        -[b4i_b4xpagesmanager _showpage::] + 1836
  CobreDelivery        -[b4i_b4xpagesmanager _addpage:::] + 1584
  CobreDelivery        -[b4i_b4xpagesmanager _addpageandcreate:::] + 684
  CobreDelivery        -[b4i_b4xpagesmanager _initialize:::] + 2012
 CobreDelivery        -[b4i_main _application_start:] + 692
 CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 1277892
 CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 6096
 CobreDelivery        +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1608
 CobreDelivery        -[B4IShell runMethod:] + 448
 CobreDelivery        -[B4IShell raiseEventImpl:method:args::] + 2172
 CobreDelivery        -[B4IShellBI raiseEvent:event:params:] + 1580
 CobreDelivery        __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
 libdispatch.dylib    E749B178-A64D-3363-83EF-863A6073A06B + 8500
 libdispatch.dylib    E749B178-A64D-3363-83EF-863A6073A06B + 13740
 libdispatch.dylib    _dispatch_main_queue_callback_4CF + 832
 CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 706772
 CoreFoundation       7769FFAC-4FCD-332D-A4BE-DA2F0E2FFEA5 + 685452
 CoreFoundation       CFRunLoopRunSpecific + 480
 GraphicsServices     GSEventRunModal + 164
 UIKitCore            UIApplicationMain + 1936
 CobreDelivery        main + 124
 libdyld.dylib        9DB07277-A537-351D-AB86-5408CB5F12C3 + 4996
)
Application_Active
 

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
I found the problem ... I think I ended up deleting the snippet without realizing: "NavControl = Nav" inside Application_Start
1596001257015.png
 
Upvote 0
Top