java.lang.RuntimeException: java.lang.RuntimeException: org.osgi.framework.BundleException: The bundle "org.eclipse.tycho.noopsecurity_0.13.0 [1]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.security; bundle-version="1.0.100" while locating org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-bridge-plugin-2.0.2/nexus-p2-bridge-plugin-2.0.2.jar!/ while locating org.sonatype.p2.bridge.ArtifactRepository at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.p2.bridge.ArtifactRepository for parameter 2 at org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator.<init>(Unknown Source) at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-repository-plugin-2.0.3/nexus-p2-repository-plugin-2.0.3.jar!/ while locating org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator while locating java.lang.Object annotated with * at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregator for parameter 0 at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.<init>(Unknown Source)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The logs quickly fill up with errors (something like 1GB in 5 minutes). The first one is: 2012-04-12 14:53:32 WARN [7-main-thread-1] - Sisu - Error injecting: org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector com.google.inject.ProvisionException: Guice provision errors: 1) Error in custom provider, java.lang.RuntimeException: java.lang.RuntimeException: org.osgi.framework.BundleException: The bundle "org.eclipse.tycho.noopsecurity_0.13.0 [1]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.security; bundle-version="1.0.100" while locating org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-bridge-plugin-2.0.2/nexus-p2-bridge-plugin-2.0.2.jar!/ while locating org.sonatype.p2.bridge.ArtifactRepository at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.p2.bridge.ArtifactRepository for parameter 2 at org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator.<init>(Unknown Source) at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-repository-plugin-2.0.3/nexus-p2-repository-plugin-2.0.3.jar!/ while locating org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator while locating java.lang.Object annotated with * at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregator for parameter 0 at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.<init>(Unknown Source) at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.class(Unknown Source) while locating org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.osgi.framework.BundleException: The bundle "org.eclipse.tycho.noopsecurity_0.13.0 [1]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.security; bundle-version="1.0.100" Then there are many errors like: 2) Error in custom provider, java.lang.IllegalStateException: There is no service available of type interface org.sonatype.p2.bridge.MetadataRepository while locating org.sonatype.nexus.plugins.p2bridge.internal.MetadataRepositoryProvider at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-bridge-plugin-2.0.2/nexus-p2-bridge-plugin-2.0.2.jar!/ while locating org.sonatype.p2.bridge.MetadataRepository at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.p2.bridge.MetadataRepository for parameter 3 at org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator.<init>(Unknown Source) at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-repository-plugin-2.0.3/nexus-p2-repository-plugin-2.0.3.jar!/ while locating org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator while locating java.lang.Object annotated with * at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregator for parameter 0 at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.<init>(Unknown Source) at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.class(Unknown Source) while locating org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector Caused by: java.lang.IllegalStateException: There is no service available of type interface org.sonatype.p2.bridge.MetadataRepository at org.sonatype.eclipse.bridge.internal.DefaultEclipseInstance$Started.getService(DefaultEclipseInstance.java:117) at org.sonatype.eclipse.bridge.internal.DefaultEclipseInstance.getService(DefaultEclipseInstance.java:49) at org.sonatype.nexus.plugins.p2bridge.internal.MetadataRepositoryProvider.get(MetadataRepositoryProvider.java:41) at org.sonatype.nexus.plugins.p2bridge.internal.MetadataRepositoryProvider.get(MetadataRepositoryProvider.java:22) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:69) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) 1) Error in custom provider, java.lang.IllegalStateException: There is no service available of type interface org.sonatype.p2.bridge.ArtifactRepository while locating org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-bridge-plugin-2.0.2/nexus-p2-bridge-plugin-2.0.2.jar!/ while locating org.sonatype.p2.bridge.ArtifactRepository at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.p2.bridge.ArtifactRepository for parameter 2 at org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator.<init>(Unknown Source) at file:/usr/local/nexus-professional-2.0.3/./nexus/WEB-INF/plugin-repository/nexus-p2-repository-plugin-2.0.3/nexus-p2-repository-plugin-2.0.3.jar!/ while locating org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator while locating java.lang.Object annotated with * at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregator for parameter 0 at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.<init>(Unknown Source) at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.class(Unknown Source) while locating org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector at ClassRealm[org.sonatype.nexus.plugins:nexus-p2-repository-plugin:2.0.3, parent: ClassRealm[plexus.core, parent: null]] at ClassRealm[org.sonatype.nexus.plugins:nexus-p2-repository-plugin:2.0.3, parent: ClassRealm[plexus.core, parent: null]] while locating org.sonatype.nexus.proxy.events.EventInspector annotated with @com.google.inject.name.Named(value=org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector) Caused by: java.lang.IllegalStateException: There is no service available of type interface org.sonatype.p2.bridge.ArtifactRepository at org.sonatype.eclipse.bridge.internal.DefaultEclipseInstance$Started.getService(DefaultEclipseInstance.java:117) at org.sonatype.eclipse.bridge.internal.DefaultEclipseInstance.getService(DefaultEclipseInstance.java:49) at org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider.get(ArtifactRepositoryProvider.java:41) at org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider.get(ArtifactRepositoryProvider.java:22) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:69) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) The only remedy I could come up with was to move the "nexus-p2-bridge-plugin-2.0.2" folder in "nexus/WEB-INF/plugin-repository" to another location which effectively disabled the plugin.
    via by Bart van der Schans,
    • java.lang.RuntimeException: java.lang.RuntimeException: org.osgi.framework.BundleException: The bundle "org.eclipse.tycho.noopsecurity_0.13.0 [1]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.security; bundle-version="1.0.100" while locating org.sonatype.nexus.plugins.p2bridge.internal.ArtifactRepositoryProvider at file:/usr/local
    • exus-professional-2.0.3/.
    • exus/WEB-INF/plugin-repository
    • exus-p2-bridge-plugin-2.0.2
    • exus-p2-bridge-plugin-2.0.2.jar!/ while locating org.sonatype.p2.bridge.ArtifactRepository at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.p2.bridge.ArtifactRepository for parameter 2 at org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator.<init>(Unknown Source) at file:/usr/local
    • exus-professional-2.0.3/.
    • exus/WEB-INF/plugin-repository
    • exus-p2-repository-plugin-2.0.3
    • exus-p2-repository-plugin-2.0.3.jar!/ while locating org.sonatype.nexus.plugins.p2.repository.internal.DefaultP2RepositoryAggregator while locating java.lang.Object annotated with * at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.plugins.p2.repository.P2RepositoryAggregator for parameter 0 at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.<init>(Unknown Source) at org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.class(Unknown Source)
    No Bugmate found.