Thursday, July 5, 2012

Solved - Weird exceptions while starting Intellij IDEA

Intellij IDEA has been my favourite IDE for nearly the past 4 years. The amazing set of user-friendly options and functionalities offered to the developers by the IDE have clearly gotten me attracted towards it.

However, recently when I tried to boot up my IDEA instance it started throwing a flurry of exceptions at the my command line console out of the blue. Although the server was started, most of the options such as attaching dependencies to my projects, etc were not functioning properly. The following log depicts part of the error logged at the server startup.



Though I tried re-installing the distribution and various other options I couldn't really get it to work. Finally, I backed up the "config" and "system" directories that contain your IDEA configuration settings and data cache residing in "~/.IntelliJIdea90/" directory and deleted them from the file system. Then restarted the IDEA instance and that seemed to have fixed all the aforementioned issues!

Note : This may result in you losing all the metadata stored in the data cache resides in the "~/.IntelliJIdea90/system" folder and your configuration settings stored in the "~/.IntelliJIdea90/config" directory. You also will have to re-install your license if you're using enterprise edition of Intellij IDEA.