Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Invalid portable string: p2.binary:org.ecli

Thanks Jan. It's good to know that concurrent builds using tycho < 0.14.0 might corrupt the local repo. We have many tycho builds that are not using the latest tycho version yet. To make sure that the builds do not interfere with each other I'll change all tycho job configurations that they use their own private repo.

Yves 

On Feb 20, 2012, at 1:55 PM, Sievers, Jan wrote:

> looks like a corrupted tycho index file in ${user.home}/.m2/repository/.meta/
> 
> Multi-process safe access to the index files should have been fixed in 0.14.0 [1] but it's possible that despite all concurrent testing efforts we missed a scenario.
> 
> Is it possible that another build process running tycho < 0.14.0 was concurrently accessing your local repo?
> 
> Workaround: Remove the index files in ${user.home}/.m2/repository/.meta/ .
> 
> Jan
> 
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=347963 
> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Yves Langisch
> Sent: Montag, 20. Februar 2012 12:45
> To: Tycho user list
> Subject: [tycho-user] Invalid portable string: p2.binary:org.ecli
> 
> Hi,
> 
> Any idea why I suddenly get following error (0.14.0)?
> 
>> message : Internal error: java.lang.IllegalArgumentException: Invalid portable string: p2.binary:org.ecli
>> cause : Invalid portable string: p2.binary:org.ecli
>> Stack trace : 
>> org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalArgumentException: Invalid portable string: p2.binary:org.ecli
>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
>>   at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>   at java.lang.reflect.Method.invoke(Method.java:611)
>>   at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
>>   at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
>>   at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
>>   at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
>>   at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
>>   at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>>   at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>>   at hudson.remoting.Request$2.run(Request.java:287)
>>   at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
>>   at java.util.concurrent.FutureTask.run(FutureTask.java:149)
>>   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>>   at java.lang.Thread.run(Thread.java:736)
>> Caused by: java.lang.IllegalArgumentException: Invalid portable string: p2.binary:org.ecli
>>   at org.eclipse.tycho.p2.repository.GAV.nextColonIndex(GAV.java:104)
>>   at org.eclipse.tycho.p2.repository.GAV.parse(GAV.java:86)
>>   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:37)
>>   at org.eclipse.tycho.p2.impl.repo.LocalRepositoryP2IndicesImpl.getMetadataIndex(LocalRepositoryP2IndicesImpl.java:58)
>>   at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.<init>(TargetPlatformBuilderImpl.java:148)
>>   at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createTargetPlatformBuilder(P2ResolverFactoryImpl.java:37)
>>   at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createTargetPlatformBuilder(P2ResolverFactoryImpl.java:1)
>>   at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:203)
>>   at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:89)
>>   at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
>>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>   ... 19 more
> 
> Thanks
> Yves
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top