Interesting CODM error situation
Posted: Sat Mar 27, 2021 9:14 am
I load my custom organ frequently during development so I am used to getting error messages and fixing them.
Yesterday I got an unusual and persistent error msg:
"Validation failed for the Stoprank object'' - the mandatory attribute 'Stopcode" is not specified." Code 0801.
Nothing could make it go away. There was no error in the stopcode code.
So I deleted selected sections of the code one by one to locate the error.
Finally with all stops, ranks, and stopcodes omitted the real error showed up.
I had placed two enclosures in the same division and the new, correct, HW error msg reported that.
So I replaced all omitted code, fixed the enclosure code and the above error disappeared. It is repeatable.
When the error occurred the "skip all organ validation" did not stop the error msg.
Not really a problem for me since I have seen the same type of error with other coding mistakes before and can fight through them. A few weeks ago a similar spurious HW CODM error was only fixed when I rebooted the PC.
Perhaps there is a subtle bug in the code that requires some thought.
In my distant past I got a contract to instrument a PC operating system looking for longstanding subtle bugs - found them!
Yesterday I got an unusual and persistent error msg:
"Validation failed for the Stoprank object'' - the mandatory attribute 'Stopcode" is not specified." Code 0801.
Nothing could make it go away. There was no error in the stopcode code.
So I deleted selected sections of the code one by one to locate the error.
Finally with all stops, ranks, and stopcodes omitted the real error showed up.
I had placed two enclosures in the same division and the new, correct, HW error msg reported that.
So I replaced all omitted code, fixed the enclosure code and the above error disappeared. It is repeatable.
When the error occurred the "skip all organ validation" did not stop the error msg.
Not really a problem for me since I have seen the same type of error with other coding mistakes before and can fight through them. A few weeks ago a similar spurious HW CODM error was only fixed when I rebooted the PC.
Perhaps there is a subtle bug in the code that requires some thought.
In my distant past I got a contract to instrument a PC operating system looking for longstanding subtle bugs - found them!