stevel05 Expert Licensed User Longtime User Nov 24, 2013 #1 This may be related to one or two of my other posts, but I thought i should start a new thread for it. It looks like the Tag fields are initialized to null, which in release mode, causes an issue with comparison: B4X: If MainForm.RootPane.Tag = "test" Then causes a null pointer exception in release mode, but compiles and runs in Debug mode. Attachments PTT.zip 955 bytes · Views: 442
This may be related to one or two of my other posts, but I thought i should start a new thread for it. It looks like the Tag fields are initialized to null, which in release mode, causes an issue with comparison: B4X: If MainForm.RootPane.Tag = "test" Then causes a null pointer exception in release mode, but compiles and runs in Debug mode.
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2013 #2 Fixed for the next update. An empty string will be returned if the tag was not set.