Blank dashboard page - locale error

Managed to get it working. Now I was cautious and backed up my /opt/openhab folder. Reinstalled openhab and set the locale to en-US. Still not sure why this error happened.