set theId to (current application's NSLocaleIdentifier)
set v_NSCalendar's setLocale:(current application's NSLocale's alloc()'s initWithLocaleIdentifier:theId)
Just submitted the problem to Apple together with a crash report. BTW, thanks for the hint as well on using the copy.
One silly question, using AppleScriptOBJ the whole ApplecriptOBJ crashes on something like this. Is it possible within AppleScriptOBJ to do something so that itself does not crash? Just wondering.
Hey Shane, understood. But what in a scenario as this for example:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BAImmediateData intValue]: unrecognized selector sent to instance 0x60000001a940'
abort() called
terminating with uncaught exception of type NSException
Would seem to me that for this it should be able then to catch that exception and display the error instead?