[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Trouble with prestartupdate example

HI Elena,

I have tried your hints and added some bundle starts (have no clue if this is necessary

getBundle("org.eclipse.equinox.frameworkadmin.equinox").start(Bundle.START_TRANSIENT); //$NON-NLS-1$
getBundle("org.eclipse.equinox.simpleconfigurator.manipulator").start(Bundle.START_TRANSIENT); //$NON-NLS-1$
getBundle("org.eclipse.equinox.p2.engine").start(Bundle.START_TRANSIENT); //$NON-NLS-1$
ServiceReference[] references = context.getAllServiceReferences(IProfileRegistry.class.getName(), null);

this sadly gives me a null pointer. I tried this in my core Activator.

Any ideas on this ?

Regards Thomas

--
http://www.buchmanager.com
http://thomaskratz.blogspot.com
http://twitter.com/thomas_kratz