I’ve gotten a report from a user of one of my apps about errors and this is what was report to me -
NilObjectException – Window1.Window1.CheckBIO%b%o<Window1.Window1>s
Window1.Window1.LoadOtherDev%%o<Window1.Window1>
SettingsWin.SettingsWin.Savebtn_Action%%o<SettingsWin.SettingsWin>o
Delegate.IM_Invoke%%o
_os_activity_initiate…RuntimeRun
REALbasic._RuntimeRun
_Main
main
User said got the same erro on Mac OS 10.11 & 10.14. Also said tried my app on 10.9 and it just crashes.
Seems a NilObjectException error but I’m not sure were or why. I’ve only had one person report this error and my app works for most people.
I’ve been unable to recreate this error.
An example: The Method untitled contains the code if someFolderItem.exists then. But… the Property someFolderItem is NIL. And that obviously causes a NilObjectException.
This is the stack you get in App.UnhandledException:
RuntimeRaiseException
RaiseNilObjectException
Window1.Window1.Untitled%%o<Window1.Window1>
Window1.Window1.PushButton1_Action%%o<Window1.Window1>o<PushButton>
The stack doesn’t tell you which property has caused the NilObjectException. All you can read from this example is that it occured in Method ‘Untitled’.
So you’re looking at a NilObjectException that occured in your method ‘CheckBio’.