iOS Question [WoobleMenu] [SOLVED] Cannot Parse (null)

Mashiane

Expert
Licensed User
Longtime User
Ola

I need some help, im getting an error, here are the logs...

B4X:
Application_Start
Error occurred on line: 94 (WobbleMenu)
Cannot parse: (null)
Stack Trace: (
  CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 1159484
  libobjc.A.dylib      objc_exception_throw + 56
  CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 117344
  B4i Example          -[B4I ObjectToNumber:] + 468
  B4i Example          -[b4i_wobblemenu _designercreateview::::] + 2980
  CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 1178464
  CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 5600
  B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1608
  B4i Example          -[B4IShell runMethod:] + 448
  B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2172
 B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1580
 B4i Example          -[B4ICustomViewWrapper AfterDesignerScript] + 1828
 B4i Example          -[B4ILayoutBuilder loadLayout:::] + 2696
 B4i Example          -[B4IPanelWrapper LoadLayout::] + 204
 B4i Example          -[b4i_main _application_start:] + 920
 CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 1178464
 CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 5600
 B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1608
 B4i Example          -[B4IShell runMethod:] + 448
 B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2172
 B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1580
 B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
 libdispatch.dylib    16C9F613-7AE3-32CE-BA3A-B0DCF0464F0E + 393904
 libdispatch.dylib    16C9F613-7AE3-32CE-BA3A-B0DCF0464F0E + 397976
 libdispatch.dylib    16C9F613-7AE3-32CE-BA3A-B0DCF0464F0E + 64740
 CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 631152
 CoreFoundation       373EC2DD-3A29-3E74-B85D-BE4EE925167A + 607696
 CoreFoundation       CFRunLoopRunSpecific + 572
 GraphicsServices     GSEventRunModal + 160
 UIKitCore            7E4F912A-868A-3669-96D1-6D89F785509F + 11727728
 UIKitCore            UIApplicationMain + 164
 B4i Example          main + 128
 libdyld.dylib        19E502BE-AFC1-3E00-AD3F-D28C0AE1287E + 4416
)
 

Biswajit

Active Member
Licensed User
Longtime User
This error occurs when the layout is created with the older version of the library and you are using a newer version. Maybe I forgot to update the layout files in the project zip.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Maybe I forgot to update the layout files in the project zip.
One tip I have, to keep it compatible:
Use the "Props.GetDefault" to load the designer properties, because if you use the menu on 10 forms in a big project for example, you have to open and save those 10 forms. And so everything remains compatible, no matter how old.
B4X:
CornerRadiusBackground = Props.GetDefault("CornerRadiusBackground",0)
 
Upvote 0
Top