Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Getting: Could not locate the running profile instance

I had a same kind of errors when I started building my Eclipse based IDE.
I setup the following start level in my product definition:
org.eclipse.equinox.ds 2, auto start true
org.eclipse.equinox.simpleconfigurator 1, auto start true
org.eclipse.runtime 4, auto start true
org.eclipse.equinox.common 2, auto start true

I'm not sure all are needed but this is what I have in my product and it works

Regards
Jeff MAURY


On Tue, Feb 5, 2013 at 5:52 PM, Thomas Johnsson <thomas@xxxxxxxx> wrote:

I'm building a product being essentially eclipse sdk 3.7.2 plus some extra plugins, both external and locally designed. I can start and run the resulting eclipse ide, but:
When selecting menu Help->Install new software , I get the message :
"Cannot complete the request. This installation has not been configured properly for Software Updates. See the Error log for details."
The eclipse error log says:
"Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file."

In the generated config.ini though, eclipse.p2.data.area and eclipse.p2.profile are the same as in a downloaded eclipse sdk 3.7.2.

I also get another error which I think might be related:
When I click on "Installation Details" on the "About Eclipse platform" window, I get:
" 'Fetching children of _SELF_' has encountered a problem. " , with the following Exception stack trace:
java.lang.NullPointerException
    at org.eclipse.equinox.internal.p2.ui.model.ProfileElement.getQueryable(ProfileElement.java:55)
    at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:88)
    at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:101)
    at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
    at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Obviously something is misconfigured, but I have no further clue. Please help.

Thanks in advance,
-- Thomas

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top