Hello Ethan,
I recognized the patern because I have had this same error in the past, quite often and still have it from time to time.
Based on my observations, it tends to happen only on exceptional ocassions. It seems difficult to replicate and one thing that I learned is to STOP the applilcation anytime I want to make changes. (However, I keep forgetting about it and therefore the error keep reapearing) At least in the version I am using now, the application shuts down in a rather orderlly fashion -now I am using version 5., prior to this one it made a mess on the application everytime that it happened!-
Well, sorry for the long answer. My best advice, like I said is to don't try to modify the UIR or code while the application is on HOLD from debugger or runt
ime errors. Ofcourse, the other option is to share your code with NI technical staff. For me, that is not an option due to the nature of my R&D confidentiality.