org.apache.maven.InternalErrorException

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.

  • pom.xml | Activiti Forums
    via by Unknown author,
  • pom.xml | Activiti Forums
    via by Unknown author,
  • Tycho User Discussions ()
    via by Unknown author,
  • Tycho Users - fragment compilation failure
    via by Unknown author,
  • aphethean/xtext-maven-examples · GitHub
    via by Unknown author,
  • How To Build Child Modules In Tycho
    via Stack Overflow by Steffi S.
    ,
  • 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.
    via by Dennis Fridlyand,
  • GitHub comment 6#12545605
    via GitHub by misto
    ,
  • Tycho dependency problem
    via GitHub by obulisundar
    ,
    • org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerEx ception at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188) at org.apache.maven.cli.MavenCli.main(MavenCli.java:134) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,