I had a problem recently – I use IntelliJ at work, and one day it just stopped launching on my Mac altogether. Looking at the console, I found:
10/23/08 4:13:16 PM idea Apple AWT Startup Exception : *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
Googling for that error I was led to this Apple support thread, which says:
You might want to check that the symlink:
As described in this post:
Sure enough, my symlink was wrong! I’d completely forgotten I’d mucked around moving symlinks, and honestly can’t remember now why I ever did in the first place. Pointing the Current link back to A solved the problem, and IntelliJ starts up just fine.