Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327391

Summary: install new software error
Product: [Eclipse Project] Equinox Reporter: eric cheng <chihhung.cheng>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: kentarou, pascal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description eric cheng CLA 2010-10-09 15:16:53 EDT
What steps will reproduce the problem?
1. install new software
2. when to install web, xml and java EE development
3. 


-- Error Details --
Date: Sun Oct 10 02:39:59 CST 2010
Message: An error occurred while collecting items to be installed
Severity: Error
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product)
Plugin: org.eclipse.equinox.p2.engine
Session Data:
eclipse.buildId=M20100909-0800
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_TW
Framework arguments:  -product org.eclipse.epp.package.rcp.product -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product -showlocation -data d:\project_source\study\workspace



-- Error Details --
Date: Sun Oct 10 02:39:59 CST 2010
Message: Error closing the output stream for org.eclipse.update.feature,org.eclipse.datatools.connectivity.oda.feature,1.8.1.v20100618-7H7C7ACcNBHBBkHeGSMd on repository file:/D:/eclipse/.
Severity: Error
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product)
Plugin: org.eclipse.equinox.p2.artifact.repository
Exception Stack Trace:
java.io.IOException: Error unzipping C:\Users\ERICCH~1\AppData\Local\Temp\org.eclipse.datatools.connectivity.oda.feature_1.8.1.v20100618-7H7C7ACcNBHBBkHeGSMd644023041720234170.jar: Invalid zip file format
at org.eclipse.equinox.internal.p2.core.helpers.FileUtils.unzipFile(FileUtils.java:75)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ZippedFolderOutputStream.close(SimpleArtifactRepository.java:168)
at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ArtifactOutputStream.close(SimpleArtifactRepository.java:96)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:232)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:179)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:115)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:565)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


-- Error Details --
Date: Sun Oct 10 02:39:59 CST 2010
Message: session context was:(profile=epp.package.rcp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Severity: Error
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product)
Plugin: org.eclipse.equinox.p2.engine
Comment 1 Pascal Rapicault CLA 2010-11-09 22:51:34 EST
It looks to me like the file in question is corrupted and as expected p2 catches it.
Please report the problem against the zip provider.