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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web24389

  • via Sonatype JIRA by Bart van der Schans, 1 year ago
    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
  • keystore intialization failure   at com.ubnt.common.service.A.<init>(Unknown Source)   at com.ubnt.common.service.A.class(Unknown Source)   while locating com.ubnt.common.service.A   while locating com.ubnt.common.service.Object 1 error
  • Problem installing: reference:file:/var/lib/sonatype-nexus/plugin-repository/nexus-apt-plugin-0.6/
  • Stack trace

    • 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
    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.