Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » java.lang.IllegalStateException: Registry Directory not available.
java.lang.IllegalStateException: Registry Directory not available. [message #485003] Thu, 10 September 2009 08:43 Go to next message
Chemi is currently offline ChemiFriend
Messages: 107
Registered: July 2009
Senior Member
Hi, I am trying to start my Eclipse installation with a couple of new
plug-ins at \dropins directory and I get always this error at
\.metadata\.log file:

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2009-09-10 10:39:45.031
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start() of
bundle org.eclipse.equinox.p2.reconciler.dropins.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(Unknown
Source)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(Unknown
Source)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(Unknown
Source)
Caused by: java.lang.IllegalStateException: Registry Directory not
available.
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry .restore(Unknown
Source)
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry .getProfileMap(Unknown
Source)
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry .internalGetProfile(Unknown
Source)
at
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry .getProfile(Unknown
Source)
at
org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .getCurrentProfile(Unknown
Source)
at
org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start(Unknown
Source)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(Unknown
Source)
at java.security.AccessController.doPrivileged(Unknown Source)
... 11 more

I have search the web but didn't find any explanation or solution.

Thanks in advance,

Chemi.
Re: java.lang.IllegalStateException: Registry Directory not available. [message #515988 is a reply to message #485003] Mon, 22 February 2010 12:09 Go to previous messageGo to next message
Panos  is currently offline Panos Friend
Messages: 3
Registered: February 2010
Junior Member
I have the same issue, any solution to this?

Thanks

Panos
Re: java.lang.IllegalStateException: Registry Directory not available. [message #516023 is a reply to message #485003] Mon, 22 February 2010 14:17 Go to previous messageGo to next message
Panos  is currently offline Panos Friend
Messages: 3
Registered: February 2010
Junior Member
Ok I have more updates. it seems that I am getting this error when eclispe starts up, in several places (originally I thought it only occurs when I choose the update manager).

Does anyone know where the "Registry Directory" is supposed to be? The error is no descriptive at all, it fails because an unavailable registry directory but it doesn't tell me where equinox looks for it.
Re: java.lang.IllegalStateException: Registry Directory not available. [message #516039 is a reply to message #516023] Mon, 22 February 2010 15:02 Go to previous message
Panos  is currently offline Panos Friend
Messages: 3
Registered: February 2010
Junior Member
I resolved the error. You need to change the eclipse.p2.data.area in the config.ini file to point to the correct directory.

Lets hope that next time the developers of equinox will provide us with more informative error messages.
Previous Topic:Buddy class loading and blackbox components
Next Topic:[p2 director] Add to a product bundles and launchers for another platform
Goto Forum:
  


Current Time: Fri Dec 19 01:45:24 GMT 2014

Powered by FUDForum. Page generated in 0.01643 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software