org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept ion: Failed to load p2 repository with ID 'p2-repositories' from location http:/ /linux-test.ru:8080/nexus/content/groups/p2

Sonatype JIRA | Dennis Fridlyand | 3 years ago
  1. 0

    I'm trying to create an Eclipse Indigo Proxy repository from http://download.eclipse.org/releases/indigo/ Firstly I've created a repo with p2 layout pointing to http://download.eclipse.org/releases/indigo/ !eclipse_repository_proxy.png! Then I've created a repository group with p2 layout and included previously created repo into this group. !repository_group.png! Here's what I have: !eclipse_indigo_repo.png! !p2_group.png! I'm using Tycho 0.18.1 to build the simpliest eclipse plugin. When pointing Tycho to my proxy repos I've got an error: {code} [INFO] Fetching compositeContent.xml from http://linux-test.ru:8080/nexus/conten t/groups/p2/ (452B of 452B at 0B/s) [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repositories' from location http://linux-test.ru:8080/nexus/content /groups/p2: Unable to read repository at http://linux-test.ru:8080/nexus/content /groups/p2. No repository found at http://linux-test.ru:8080/nexus/content/repos itories/eclipse-indigo. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept ion: Failed to load p2 repository with ID 'p2-repositories' from location http:/ /linux-test.ru:8080/nexus/content/groups/p2 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 352) Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2- repositories' from location http://linux-test.ru:8080/nexus/content/groups/p2 at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository (TargetPlatformBuilderImpl.java:254) at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addEntireP2Rep ositoryToTargetPlatform(P2TargetPlatformResolver.java:312) at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetP latform(P2TargetPlatformResolver.java:201) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolv eProject(DefaultTychoDependencyResolver.java:100) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProj ectsRead(TychoMavenLifecycleParticipant.java:82) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read reposi tory at http://linux-test.ru:8080/nexus/content/groups/p2. at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadata Repository.addChild(CompositeMetadataRepository.java:185) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadata Repository.<init>(CompositeMetadataRepository.java:106) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadata RepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositor yManager.factoryLoad(MetadataRepositoryManager.java:57) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepository Manager.loadRepository(AbstractRepositoryManager.java:768) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepository Manager.loadRepository(AbstractRepositoryManager.java:668) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositor yManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepos itory(RemoteMetadataRepositoryManager.java:55) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepos itory(RemoteMetadataRepositoryManager.java:48) at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository (TargetPlatformBuilderImpl.java:240) ... 17 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found a t http://linux-test.ru:8080/nexus/content/repositories/eclipse-indigo. at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepository Manager.fail(AbstractRepositoryManager.java:395) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepository Manager.loadRepository(AbstractRepositoryManager.java:692) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositor yManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepos itory(RemoteMetadataRepositoryManager.java:55) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepos itory(RemoteMetadataRepositoryManager.java:48) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadata Repository.addChild(CompositeMetadataRepository.java:166) ... 26 more [ERROR] {code} I've also tried to download Igor's p2 browser and open a p2 group there, but the outcome was that eclipse-indigo is not found.

    Sonatype JIRA | 3 years ago | Dennis Fridlyand
    org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept ion: Failed to load p2 repository with ID 'p2-repositories' from location http:/ /linux-test.ru:8080/nexus/content/groups/p2
  2. 0

    Tycho User Discussions ()

    gmane.org | 1 year ago
    org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.jdt.core 3.8.1.v_OTDT_r210_201206090452 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.8.2.v_OTDT_r211_201209011847 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.8.3.v_OTDT_r212_201301271217 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.openrdf.sesame2 2.7.0 to package au.com.bytecode.opencsv 0.0.0.", "No solution found because the problem is unsatisfiable."]
  3. 0

    Maven throws nullpointer exception

    Stack Overflow | 3 years ago | Bravo
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerEx ception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven: How can I have a module with same name under two different modules?

    Stack Overflow | 3 years ago | daydreamer
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  6. 0

    Tycho Users - fragment compilation failure

    nabble.com | 1 year ago
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException

    2 unregistered visitors
    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. org.apache.maven.InternalErrorException

      Internal error: java.lang.RuntimeExcept ion: Failed to load p2 repository with ID 'p2-repositories' from location http:/ /linux-test.ru:8080/nexus/content/groups/p2

      at org.apache.maven.DefaultMaven.execute()
    2. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
      1 frame
    3. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames