Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352340 - P2 Console: No metadata repository manager found
Summary: P2 Console: No metadata repository manager found
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 07:52 EDT by mmr CLA
Modified: 2011-09-25 15:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mmr CLA 2011-07-18 07:52:53 EDT
Build Identifier: I20110613-1736

Iam try to use p2 console to add a repository. I've exported a deployable feature and want to install this unit with p2 console. The repository can be added by eclipse (Install new Software...) and the feature can also be installed. But it doesnt working with console.

This error occurs:

osgi> provaddrepo http://localhost/shk
java.lang.IllegalStateException: No metadata repository manager found
	at org.eclipse.equinox.internal.p2.console.ProvisioningHelper.addMetadataRepository(ProvisioningHelper.java:40)
	at org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provaddrepo(ProvCommandProvider.java:80)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
	at java.lang.Thread.run(Unknown Source)


Reproducible: Always

Steps to Reproduce:
1. Create a new run configuration for osgi framework. Select org.eclipse.equinox.p2.console and all required Bundles.
2. Start this new Framework
3. Type into console (fill <URL>): provaddrepo <URL>
Comment 1 DJ Houghton CLA 2011-07-18 16:55:02 EDT
is org.eclipse.equinox.ds part of your configuration? A lot of the p2 bundles use DS for discovery and registration of services.
Comment 2 Pascal Rapicault CLA 2011-09-25 15:47:41 EDT
No answer closing.