Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 168344 - Errors while installing 1.0.1 from update site
Summary: Errors while installing 1.0.1 from update site
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0.1   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-17 01:10 EST by Willian Mitsuda CLA
Modified: 2006-12-19 16:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willian Mitsuda CLA 2006-12-17 01:10:59 EST
Steps to reproduce:

- On a clean Eclipse 3.2.1 installation, install all features from update site, unless those that requires CDT.
- After the download, it'll show a error dialog. There will be 3 errors on error log:

eclipse.buildId=M20060921-0945
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments:  -os win32 -ws win32 -arch x86

Error
Sun Dec 17 04:01:59 BRST 2006
An internal error occurred during: "Update Manager".

java.lang.SecurityException: SHA1 digest error for META-INF/eclipse.inf
at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:194)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:201)
at java.util.jar.JarVerifier.update(JarVerifier.java:188)
at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:411)
at java.io.InputStream.read(InputStream.java:85)
at org.eclipse.update.internal.core.UpdateManagerUtils.copy(UpdateManagerUtils.java:912)
at org.eclipse.update.core.Utilities.copy(Utilities.java:172)
at org.eclipse.update.internal.core.UpdateManagerUtils.copyToLocal(UpdateManagerUtils.java:236)
at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.store(SiteFilePluginContentConsumer.java:90)
at org.eclipse.update.internal.core.PluginEntryContentConsumer.store(PluginEntryContentConsumer.java:37)
at org.eclipse.update.core.Feature.install(Feature.java:464)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
at org.eclipse.update.core.Feature.install(Feature.java:414)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:119)
at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:92)
at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.install(InstallWizard2.java:375)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$1(InstallWizard2.java:372)
at org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run(InstallWizard2.java:485)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

eclipse.buildId=M20060921-0945
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments:  -os win32 -ws win32 -arch x86

Error
Sun Dec 17 04:01:59 BRST 2006
Unable to remove "C:\Documents and Settings\Willian\Desktop\eclipse\plugins\org.apache.commons.net.source_1.4.1.v20061031------0842283437\META-INF" from the file system. [java.lang.Exception]

java.lang.Exception
at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:342)
at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:337)
at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.abort(SiteFilePluginContentConsumer.java:181)
at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:214)
at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
at org.eclipse.update.core.Feature.install(Feature.java:538)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
at org.eclipse.update.core.Feature.install(Feature.java:414)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:119)
at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:92)
at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.install(InstallWizard2.java:375)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$1(InstallWizard2.java:372)
at org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run(InstallWizard2.java:485)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

eclipse.buildId=M20060921-0945
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments:  -os win32 -ws win32 -arch x86

Error
Sun Dec 17 04:01:59 BRST 2006
Unable to remove "C:\Documents and Settings\Willian\Desktop\eclipse\plugins\org.apache.commons.net.source_1.4.1.v20061031------0842283437" from the file system. [java.lang.Exception]

java.lang.Exception
at org.eclipse.update.internal.core.UpdateManagerUtils.removeEmptyDirectoriesFromFileSystem(UpdateManagerUtils.java:342)
at org.eclipse.update.internal.core.SiteFilePluginContentConsumer.abort(SiteFilePluginContentConsumer.java:181)
at org.eclipse.update.internal.core.SiteFileContentConsumer.abort(SiteFileContentConsumer.java:214)
at org.eclipse.update.internal.core.FeatureExecutableContentConsumer.abort(FeatureExecutableContentConsumer.java:160)
at org.eclipse.update.core.Feature.install(Feature.java:538)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
at org.eclipse.update.core.Feature.install(Feature.java:414)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
at org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:119)
at org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:92)
at org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.install(InstallWizard2.java:375)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$1(InstallWizard2.java:372)
at org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run(InstallWizard2.java:485)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Martin Oberhuber CLA 2006-12-17 17:12:21 EST
Reproduced the issue with Java 1.5.0_09 on WinXP.

While the RSE Runtime is all OK, the problem is with the RSE SDK and the RSE Examples packages. It appears that some bundles are modified in an incorrect manner by the pack200 condition / sign / pack200 / unpack200 steps. See also bug 163421 for a similar issue. 

Reverting to unsigned packages on the update site for now. Sigh - signing and packing at the same time is _really_ playing with fate. Hope that these issues are being resolved in the UM and the Eclipse.org signing scripts as signing gets more popular.
Comment 2 Willian Mitsuda CLA 2006-12-17 18:03:38 EST
Oh, no... another UM bug... ;)

BTW, I retried to install the unsigned version, and it is working OK now.
Comment 3 Martin Oberhuber CLA 2006-12-18 06:58:26 EST
Reverted the TM update site to unsigned.

Verified with Sun JVM 1.4.2_12 on Linux, and 1.5.0_09 on Windows that all features can be installed from the update site properly.
Comment 4 Martin Oberhuber CLA 2006-12-18 06:58:57 EST
closing.
Comment 5 Jeff McAffer CLA 2006-12-19 16:27:54 EST
Since Europa is to be signed, it seems strange to close this wihtout refering to a bug to fix the real problem...
Comment 6 Martin Oberhuber CLA 2006-12-19 16:42:03 EST
Fair enough. 
The bug reference was in comment #1, and hopefully the fix for bug 168583 will fix this issue.

Note, though, that RSE 1.0.1 targets Eclipse 3.2.1, and we don't intend to sign & pack in this stream because we're not part of Callisto and the fix for bug 168583 needs to be retrieved as a patch before we can even think about signing. Thus this is being closed in terms of the 1.0.1 stream.

Our build scripts have been creating both signed and unsigned update sites since 2 months now, and hoping that the bugs which hinder consuming those are being resolved I'm optimistic that we can contribute signed builds to Europa.