Control Builder M closes after Fatal call to ErrorHandler
Can you please help me.
I was working on a program and after few successful download an error accrued with message "Fatal call to ErrorHandler, see the log for further information" ( Pic1.jpg) and then the Control Builder crashes with message in Pic2.
After the error I could not download the program to controller. Each time the CB stops working. But when I deleted ALL COMMUNICATION VARIABLES I was able to download the controller. The same problem occured when I change program on other controller (which had communication variables). After minor changes to the program the same Fatal Call error and CB crashes.
I can go online to controllers but if I change the program I cannot download, and I cannot go online.
Installed version is 5.1 rev A. All controllers are physical controller.
Please Help. Thank you in advance.
Voted best answer
I think the problem is caused by the code page setting, which is determined by your system locale, also referred to as “Language for non-unicode programs” in your regional settings.
I’ll try to explain…
You have more than one controller in your system. During the download, the CB will check all communication variables for all controllers you have downloaded to in your system. If you download to your first controller using a computer with e.g. US English as your system locale, a resulting file containing the result for the linking of the communication variables for that controller is stored. If you then download to another controller using a computer with a central european language as your system locale the CB will/might have problem reading the file stored for your first controller. The problem occurs if the file contains language specific characters above ascii 127.
How to get rid of the problem. One way is to delete all your controllers in your system and start from scratch and not mix or change system locale settings on your comupter nodes in your system. Another way is to locate all files with extension .cvfile (or .cvfile~), both in your projects folder on disk, and in aspect directory. For aspect directory you need to use the FSD util tool, navigate to your controller, list the files, and finally delete all files with .cvfile extension. A third way is to change your system local to US English and try to download the project after you rebooted your computer.
… and I repeat, never change or mix system locale on your computers once you have downloaded an application with communication variables to a controller in your system.