Java script error when opening Charts app on desktop

Hi, I’m trying to print out some charts on my desktop app and the program keeps crashing with the error above… I have uninstalled and re-installed but the problem persists. According to another post version 8.14 fixes the issue , but this is the version I downloaded and the fault persists.

I installed 8.15 and that solved the issue.