Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Invalid Portable String exception

It's probably ~\.m2\repository\.meta that needs deleting rather than everything. You should also check each build uses it's own local maven repository and that you use a repository manager such as Nexus to ensure that artifacts are served quickly to local hosts. 

Alex 

Sent from my iPhone 5

On 20 Aug 2014, at 08:20, Christophe Bouhier <dzonekl@xxxxxxxxx> wrote:

Hi,

Since yesterday, I get the exception [1]  accross all my builds: I read about bug: https://issues.sonatype.org/browse/TYCHO-408

So, it seems my .m2 repo is corrupt? How do I restore this error? Is there a clean way to wipe or repair the maven local repo?

Thank You,
Christophe



[1]

FailedConsole Output

Started by timer
Building in workspace /var/lib/jenkins/workspace/netxstudio
Checkout:netxstudio / /var/lib/jenkins/workspace/netxstudio - hudson.remoting.LocalChannel@ce4f39
Using strategy: Default
Last Built Revision: Revision 444c2d6582e829646de0e9dbf81baac932cec74c (origin/topic_oss2)
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/dzonekl/netxstudio.git
git --version
git version 1.7.0.4
Fetching upstream changes from https://github.com/dzonekl/netxstudio.git
Cleaning workspace
Resetting working tree
Commencing build of Revision 444c2d6582e829646de0e9dbf81baac932cec74c (origin/topic_oss2)
Checking out Revision 444c2d6582e829646de0e9dbf81baac932cec74c (origin/topic_oss2)
Cleaning workspace
Resetting working tree
Parsing POMs
[com.netxforge.releng.netxstudio] $ java -Xms128m -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_Install/boot/plexus-classworlds-2.5.1.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_Install/conf/logging jenkins.maven3.agent.Maven31Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_Install /tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/remoting-2.33.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 50148
<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f /var/lib/jenkins/workspace/netxstudio/releng.tycho/com.netxforge.releng.netxstudio/pom.xml -Dtycho.localArtifacts=ignore -Djarsigner.alias=netxsign -Djarsigner.keystore=/var/lib/jenkins/netxkeystore -Djarsigner.storepass=nosecret clean install -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: com.netxforge:com.netxforge.netxscript:1.0.0-SNAPSHOT @ /var/lib/jenkins/workspace/netxstudio/plugins/netxstudio/com.netxforge.netxscript/pom.xml
[ERROR] Internal error: java.lang.IllegalArgumentException: Invalid portable string: p2.osgi.bundle:org.eclipse. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalArgumentException: Invalid portable string: p2.osgi.bundle:org.eclipse.
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:164)
	at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
	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:616)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
	at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
	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:616)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:328)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IllegalArgumentException: Invalid portable string: p2.osgi.bundle:org.eclipse.
	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:85)
	at org.eclipse.tycho.repository.local.index.FileBasedTychoRepositoryIndex.<init>(FileBasedTychoRepositoryIndex.java:48)
	at org.eclipse.tycho.repository.local.index.FileBasedTychoRepositoryIndex.createArtifactsIndex(FileBasedTychoRepositoryIndex.java:118)
	at org.eclipse.tycho.repository.local.index.LocalRepositoryP2IndicesImpl.checkInitialized(LocalRepositoryP2IndicesImpl.java:56)
	at org.eclipse.tycho.repository.local.index.LocalRepositoryP2IndicesImpl.getMetadataIndex(LocalRepositoryP2IndicesImpl.java:67)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.getLocalMetadataRepository(P2ResolverFactoryImpl.java:47)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.getTargetPlatformFacto

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top