Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Invalid portable string: p

Hi Jan,

thanks. Removing the whole local maven repo fixed that.

Thanks.

Best regards, Lars

2013/2/12 Sievers, Jan <jan.sievers@xxxxxxx>:
> this is a corrupt index file <LOCAL_MAVEN_REPO>/.meta/p2-artifacts.properties
> Remove that file.
>
> This used to be a problem with concurrent builds but should be fixed since 0.14.0
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=347963
>
> Regards,
> Jan
>
>
>
> -----Original Message-----
> From: cbi-dev-bounces@xxxxxxxxxxx [mailto:cbi-dev-bounces@xxxxxxxxxxx] On Behalf Of Lars Vogel
> Sent: Montag, 11. Februar 2013 23:31
> To: cbi-dev@xxxxxxxxxxx
> Subject: [cbi-dev] Invalid portable string: p
>
> Currently I get the following error duing the build. I tried dropping
> my local m2 repository but the error remains.
>
> Any suggestions how to solve that?
>
> [INFO] Computing target platform for MavenProject:
> eclipse.jdt:org.eclipse.jdt:3.8.1-SNAPSHOT @
> /home/vogella/eclipse.platform.releng.aggregator/eclipse.jdt/org.eclipse.jdt/pom.xml
> [ERROR] Internal error: java.lang.IllegalArgumentException: Invalid
> portable string: p -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error:
> java.lang.IllegalArgumentException: Invalid portable string: p
>         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:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: java.lang.IllegalArgumentException: Invalid portable string: p
>         at org.eclipse.tycho.p2.repository.GAV.nextColonIndex(GAV.java:104)
>         at org.eclipse.tycho.p2.repository.GAV.parse(GAV.java:82)
>         at org.eclipse.tycho.p2.repository.DefaultTychoRepositoryIndex.read(DefaultTychoRepositoryIndex.java:84)
>         at org.eclipse.tycho.p2.impl.repo.FileBasedTychoRepositoryIndex.<init>(FileBasedTychoRepositoryIndex.java:48)
>         at org.eclipse.tycho.p2.impl.repo.FileBasedTychoRepositoryIndex.createArtifactsIndex(FileBasedTychoRepositoryIndex.java:118)
>         at org.eclipse.tycho.p2.impl.repo.LocalRepositoryP2IndicesImpl.checkInitialized(LocalRepositoryP2IndicesImpl.java:57)
>         at org.eclipse.tycho.p2.impl.repo.LocalRepositoryP2IndicesImpl.getMetadataIndex(LocalRepositoryP2IndicesImpl.java:68)
>         at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.getLocalMetadataRepository(P2ResolverFactoryImpl.java:63)
>         at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createTargetPlatformBuilder(P2ResolverFactoryImpl.java:46)
>         at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createTargetPlatformBuilder(P2ResolverFactoryImpl.java:1)
>         at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:188)
>         at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
>         at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         ... 11 more
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top