Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Invalid Content?!

Hi,

Something has obviously gone wrong, but you don't provide enough information to guess what. Let us read your error log more carefully.

Firstly, it complains that the org.w3c.sac/1.3.0.v20120820 plugin from D:\Java7\Workspace3\UpdateSite p2 repository has invalid file lib/flute.jar. It is noteworthy that the JAR which represents the org.w3c.sac/1.3.0.v20120820 bundle is for some reason located in a temporary directory. I don't know if this is how it should be or if it's wrong, but it looks a bit suspicious to me.

Then, Maven complains about an identical problem org.eclipse.nebula.widgets.nattable.core.feature/1.1.0.201405012245 with feature.

My guess is both the plugin and the feature jars in the temp directory are corrupted. Why they are corrupted is beyond me and depends on how they got there. Were they mirrored from a remote repo at eclipse.org, from a local Nexus instance? Were they build by Tycho or Eclipse PDE? You don't tell anything. Finally, your description sounds like you didn't do anything and the build has broken, but this is improbable. What have you done since the last successful build? Any code modifications/cleanups/jdk reinstalls/git checkouts/ide updates? Has this configuration ever worked before at all?

I hope the process of getting answers for these questions would help you self or with list's help understand the problem's origin.

Kind regards,
Mikhail Kalkov

Eclipse Developer | Purple Scout AB | www.purplescout.com
Kyrkogatan 20-22, SE-41110 Gothenburg, Sweden


On Wed, Jul 16, 2014 at 11:58 AM, Moser-Spitzenstaetter Ludwig <L.Spitzenstaetter@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hello tycho-users

Today while building my app i ran into a problem, which i am not able to resolve. Probably one of you have an idea what to do?

Thanks in advance

Ludwig

 

[INFO] Scanning for projects...

[WARNING] No explicit target runtime environment configuration. Build is platform dependent.

[WARNING] No explicit target runtime environment configuration. Build is platform dependent.

[WARNING] No explicit target runtime environment configuration. Build is platform dependent.

[INFO] Computing target platform for MavenProject: biooffice.feature:at.biooffice.feature:0.0.1-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml

[INFO] Adding repository file:/D:/Java7/Workspace3/UpdateSite

[INFO] Resolving dependencies of MavenProject: biooffice.feature:at.biooffice.feature:0.0.1-SNAPSHOT @ D:\Java7\Workspace3\at.biooffice.feature\pom.xml

[WARNING] Some attempts to read artifact osgi.bundle,org.w3c.sac,1.3.0.v20120820 failed:

[WARNING]    An error occurred while transferring artifact packed: osgi.bundle,org.w3c.sac,1.3.0.v20120820 from repository file:/D:/Java7/Workspace3/UpdateSite:

[WARNING]       Problems downloading artifact: osgi.bundle,org.w3c.sac,1.3.0.v20120820.:

[WARNING]          File has invalid content:C:\Users\moser\AppData\Local\Temp\signatureFile3019669552370150271.jar:

[WARNING]             Invalid content:lib/flute.jar

[ERROR] An error occurred while transferring artifact canonical: org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 from repository file:/D:/Java7/Workspace3/UpdateSite:

[ERROR]    Problems downloading artifact: org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245.:

[ERROR]       File has invalid content:C:\Users\moser\AppData\Local\Temp\signatureFile3383485435845636711.jar:

[ERROR]          Invalid content:META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml

[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details. A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile3383485435845636711.jar -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details.

       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)

       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)

       at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

       at java.lang.reflect.Method.invoke(Unknown Source)

       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

       at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

       at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact org.eclipse.update.feature,org.eclipse.nebula.widgets.nattable.core.feature,1.1.0.201405012245 into the local Maven repository.See log output for details.

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:218)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable(MirroringArtifactProvider.java:203)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable(MirroringArtifactProvider.java:174)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile(MirroringArtifactProvider.java:118)

       at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile(CompositeArtifactProvider.java:70)

       at org.eclipse.tycho.p2.target.TargetPlatformImpl.getLocalArtifactFile(TargetPlatformImpl.java:146)

       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.addUnit(P2ResolverImpl.java:208)

       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:171)

       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:163)

       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:107)

       at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolveDependencies(P2TargetPlatformResolver.java:348)

       at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:321)

       at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)

       at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)

       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)

       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

       ... 11 more

Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile3383485435845636711.jar

       at org.eclipse.osgi.internal.signedcontent.SignedContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:164)

       at org.eclipse.osgi.internal.signedcontent.SignedContentFile.getSignedEntries(SignedContentFile.java:51)

       at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verifyContent(SignatureVerifier.java:82)

       at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verify(SignatureVerifier.java:59)

       at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.close(SignatureVerifier.java:100)

       at org.eclipse.equinox.internal.provisional.p2.artifact.repository.processing.ProcessingStep.close(ProcessingStep.java:85)

       at org.eclipse.equinox.internal.provisional.p2.artifact.repository.processing.ZipVerifierStep.close(ZipVerifierStep.java:41)

       at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.java:1183)

       at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)

       at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromOneMirror(RepositoryArtifactProvider.java:209)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyMirror(RepositoryArtifactProvider.java:192)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.access$1(RepositoryArtifactProvider.java:187)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$1.perform(RepositoryArtifactProvider.java:167)

       at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)

       at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyChildRepository(RepositoryArtifactProvider.java:179)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyFormatAvailableInRepository(RepositoryArtifactProvider.java:149)

       at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnySource(RepositoryArtifactProvider.java:135)

       at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProviderBaseImpl.getArtifact(CompositeArtifactProviderBaseImpl.java:50)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadCanonicalArtifact(MirroringArtifactProvider.java:236)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadMostSpecificNeededFormatOfArtifact(MirroringArtifactProvider.java:229)

       at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:214)

       ... 26 more

Caused by: java.lang.SecurityException: A file "META-INF/maven/org.eclipse.nebula.widgets.nattable/org.eclipse.nebula.widgets.nattable.core.feature/pom.xml" has been removed from the jar: C:\Users\moser\AppData\Local\Temp\signatureFile3383485435845636711.jar

       at org.eclipse.osgi.internal.signedcontent.SignedBundleFile.getEntry(SignedBundleFile.java:119)

       at org.eclipse.osgi.internal.signedcontent.SignedContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:159)

       ... 48 more

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

 

 


_______________________________________________
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