Given the error message, I'd wager you're on Windows. So the configuration is somewhere around `C:\Users\YourName\Roaming\geany` or something like that (not being a Windows user myself it's a rough guess)
Yes, I am using Windows and solved the issue by following your comments. It is because of the configuration. Even though I tried to reload configuration from the TOOLS at the beginning which did not solve the problem. This time what I did was locate to the Roaming\geany folder and delete the geany.conf file and it's working perfectly. Thanks a lot