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)

Sonatype JIRA | Bart van der Schans | 5 years ago
  1. 0

    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.

    Sonatype JIRA | 5 years ago | 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/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)
  2. 0

    [switchyard-dev] Build failed in Jenkins: SwitchYard-Tools #16

    jboss.org | 1 year ago
    java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.p2.metadata.ProxyServiceFacade' while locating org.eclipse.tycho.p2.facade.P2TargetPlatformResolver at ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.12.0, parent: sun.misc.Launcher$ ] while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2) 1 error role: org.eclipse.tycho.core.TargetPlatformResolver roleHint: p2
  3. 0

    Configure gradle project takes forever

    YouTrack | 2 years ago
    org.jetbrains.idea.maven.server.MavenServerIndexerException: java.lang.RuntimeException: java.io.FileNotFoundException: Resource nexus-maven-repository-index.properties does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Development of Android Development Tools, ADT, and associated tools ()

    gmane.org | 7 months ago
    java.lang.RuntimeException: java.io.FileNotFoundException: Resource > nexus-maven-repository-index.properties does not exist at > org.jetbrains.idea.maven.server.Maven3ServerIndexerImpl.updateIndex(Maven3ServerIndexerImpl.java:210)
  6. 0

    Cannot build Nodeclipse with Enide Maven

    GitHub | 3 years ago | paulvi
    java.lang.RuntimeException: java.io.IOException: �ܾ���ʡ� while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2) 1 error role: org.eclipse.tycho.core.TargetPlatformResolver roleHint: p2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.sonatype.nexus
      P2ArtifactsEventsInspector.class
      1. org.sonatype.nexus.plugins.p2.repository.internal.P2ArtifactsEventsInspector.class(Unknown Source)
      1 frame