iOS Question Error loading layout - B4i v4.30

Pendrush

Well-Known Member
Licensed User
Longtime User
Line 194 is:
B4X:
pg.RootPanel.LoadLayout("laymaster")
Error:
Application_Start
Application_Active
Error occurred on line: 194 (pApp)
Expected: UIImageView, object type: B4IPanelView
Stack Trace: (
CoreFoundation <redacted> + 152
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
RE Beta -[B4IObjectWrapper setObject:] + 364
RE Beta -[B4ILayoutBuilder loadLayoutHelper:::::::::::] + 3570
RE Beta -[B4ILayoutBuilder loadLayoutHelper:::::::::::] + 5100
RE Beta -[B4ILayoutBuilder loadLayoutHelper:::::::::::] + 5100
RE Beta -[B4ILayoutBuilder loadLayout:::] + 2348
RE Beta -[B4IPanelWrapper LoadLayout::] + 148
RE Beta -[b4i_papp _show::] + 4732
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
RE Beta +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1784
RE Beta -[B4IShell runMethod:] + 590
RE Beta -[B4IShell raiseEventImpl:method:args::] + 2238
RE Beta -[B4IShellBI raiseEvent:event:params:] + 1578
RE Beta __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF + 902
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 848
CoreFoundation CFRunLoopRunSpecific + 470
CoreFoundation CFRunLoopRunInMode + 104
GraphicsServices GSEventRunModal + 80
UIKit UIApplicationMain + 150
RE Beta main + 106
libdyld.dylib <redacted> + 2
)
This app is developed with previous version of B4i.

EDIT:
Resolved: Panel is declared as ImageView, not raised as error in previous B4i.
 
Last edited:
Top