Twitter github

Eclipse and Profile id _SELF_ is not registered

So I’m setting up a fresh Eclipse install for 3.6 M7 test pass week this morning and found that I was unable to install anything via p2. Any p2-related action that I performed ended up with a strange “Profile id _SELF_ is not registered” error in the log followed by many profanities. So the next obvious step was to debug the problem and about half way through debugging… I realized I hit a similar problem before on Mac and it was related to a bug in The Unarchiver application. I was right… again… for some reason, The Unarchiver will append “0000664” to p2 profile data while decompressing.

This is obviously a problem and will cause failures. The workaround is to strip the “0000664” suffix from the p2 profile data or simply use another unzipping tool. So for any folks who use Eclipse and hit this on Mac, I hope you find this post and save some pain.

  • Kai

    Thanks Chris, that's very helpful indeed as I ran across the same problem, but I didn't have the wits to debug it as far as you :-)

  • guest

    it helps me alot!
    thank you for discovering this!

  • guest

    it helps me alot!
    thank you for discovering this!

  • Miles Parker

    I just hit this, arghh! Thanks for saving my a** and reminding me that Eclipse product builds are the exception that proves the rule that “if you think there is a bug in the program, its almost certainly something you’re doing wrong instead.” With builds, it always seems to be the other way around instead…

  • http://twitter.com/EclipseScout Scout Framework

    Nice to find you post even 3 years later. Thank you so much!

    It helps me to provide an answer to someone filing a bug in our project (Bug 408037)