facebook

[Closed] Error in zip feature.xml

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #252461 Reply

    kkaal
    Member

    Hi,

    whatever I try to do under “Help/Software Updates/Find and Install”, I get this immediate Error Message:

    Error retrieving “feature.xml”. [Error in opening zip file]

    I do not find another logfile or other explanation for this message.

    Could you plse help me?

    Thanks
    Klaus

    #252486 Reply

    Riyad Kalla
    Member

    Klaus,
    Your log file is under <workspace dir>\.metadata\.log, does it say anything? Look near the bottom.

    #252503 Reply

    kkaal
    Member

    Hi Riyad,

    quite a few times, I find this:

    !ENTRY org.eclipse.update.core 4 0 2006-05-24 09:03:40.151
    !MESSAGE Error retrieving “feature.xml”. [error in opening zip file]
    !STACK 0
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at org.eclipse.update.core.JarContentReference.asJarFile(JarContentReference.java:142)
    at org.eclipse.update.core.JarContentReference.unpack(JarContentReference.java:166)
    at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureManifestReference(FeaturePackagedContentProvider.java:77)
    at org.eclipse.update.internal.core.FeaturePackagedFactory.createFeature(FeaturePackagedFactory.java:39)
    at org.eclipse.update.core.Site.createFeature(Site.java:515)
    at org.eclipse.update.internal.model.SiteWithTimestamp.createFeature(SiteWithTimestamp.java:81)
    at org.eclipse.update.core.FeatureReference.createFeature(FeatureReference.java:117)
    at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:105)
    at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:92)
    at org.eclipse.update.internal.ui.model.DiscoveryFolder.initialize(DiscoveryFolder.java:64)
    at org.eclipse.update.internal.ui.model.DiscoveryFolder.getChildren(DiscoveryFolder.java:147)
    at org.eclipse.update.internal.ui.wizards.SitePage.getAllSiteBookmarks(SitePage.java:521)
    at org.eclipse.update.internal.ui.wizards.SitePage.access$11(SitePage.java:517)
    at org.eclipse.update.internal.ui.wizards.SitePage$9.getElements(SitePage.java:285)
    at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:848)
    at org.eclipse.jface.viewers.TableViewer.getRawChildren(TableViewer.java:1086)
    at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:790)
    at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:905)
    at org.eclipse.jface.viewers.TableViewer.internalRefreshAll(TableViewer.java:798)
    at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:748)
    at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:737)
    at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1264)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1201)
    at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:289)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1262)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1221)
    at org.eclipse.jface.viewers.StructuredViewer.setSorter(StructuredViewer.java:1509)
    at org.eclipse.update.internal.ui.wizards.SitePage.createViewer(SitePage.java:299)
    at org.eclipse.update.internal.ui.wizards.SitePage.createContents(SitePage.java:153)
    at org.eclipse.update.internal.ui.wizards.BannerPage.createControl(BannerPage.java:41)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:179)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:611)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:502)
    at org.eclipse.jface.window.Window.create(Window.java:418)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
    at org.eclipse.update.internal.ui.wizards.ResizableInstallWizardDialog.create(ResizableInstallWizardDialog.java:38)
    at org.eclipse.update.ui.UpdateManagerUI.openInstaller(UpdateManagerUI.java:52)
    at org.eclipse.ui.internal.ide.update.InstallWizardAction$1.run(InstallWizardAction.java:47)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.ide.update.InstallWizardAction.openInstaller(InstallWizardAction.java:45)
    at org.eclipse.ui.internal.ide.update.InstallWizardAction.run(InstallWizardAction.java:41)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:223)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    !ENTRY org.eclipse.update.core 4 0 2006-05-24 09:03:43.236
    !MESSAGE Error retrieving “feature.xml”. [error in opening zip file]
    !STACK 0
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at org.eclipse.update.core.JarContentReference.asJarFile(JarContentReference.java:142)
    at org.eclipse.update.core.JarContentReference.unpack(JarContentReference.java:166)
    at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureManifestReference(FeaturePackagedContentProvider.java:77)
    at org.eclipse.update.internal.core.FeaturePackagedFactory.createFeature(FeaturePackagedFactory.java:39)
    at org.eclipse.update.core.Site.createFeature(Site.java:515)
    at org.eclipse.update.internal.model.SiteWithTimestamp.createFeature(SiteWithTimestamp.java:81)
    at org.eclipse.update.core.FeatureReference.createFeature(FeatureReference.java:117)
    at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:105)
    at org.eclipse.update.core.FeatureReference.getFeature(FeatureReference.java:92)
    at org.eclipse.update.internal.operations.UpdateUtils.searchSite(UpdateUtils.java:83)
    at org.eclipse.update.internal.operations.UpdateUtils.getInstalledFeatures(UpdateUtils.java:120)
    at org.eclipse.update.internal.operations.UpdateUtils.getInstalledFeatures(UpdateUtils.java:103)
    at org.eclipse.update.internal.operations.UpdateUtils.getInstalledFeatures(UpdateUtils.java:93)
    at org.eclipse.update.internal.operations.InstallOperation.<init>(InstallOperation.java:48)
    at org.eclipse.update.internal.operations.OperationFactory.createInstallOperation(OperationFactory.java:38)
    at org.eclipse.update.internal.search.UpdatesSearchCategory$Hit.getJob(UpdatesSearchCategory.java:137)
    at org.eclipse.update.internal.search.UpdatesSearchCategory$UpdateQuery.run(UpdatesSearchCategory.java:236)
    at org.eclipse.update.search.UpdateSearchRequest.searchOneSite(UpdateSearchRequest.java:381)
    at org.eclipse.update.search.UpdateSearchRequest.performSearch(UpdateSearchRequest.java:253)
    at org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:200)
    at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:163)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    Any analysis?

    Thanks
    Klaus

    #252504 Reply

    Riyad Kalla
    Member

    Hmm maybe a corrupt JAR file. Try restarting using the -clean command line argument like so:
    eclipse.exe -clean

    then try, if it doesn’t work, try a new workspace:
    eclipse.exe -data c:\tempworkspace

    if THAT doesn’t work, I would suggest a reinstall. Since everything is saved in your workspace, that’s not as daunting a task as it sounds.

    Just unzip it and run it, select your existing workspace. You shouldn’t need to update it.

    #265846 Reply

    Strong
    Member

    delete site.xml where in you eclipse folder.

    it work in my computer.

    #269865 Reply

    Doug Crews
    Member

    @Strong wrote:

    delete site.xml where in you eclipse folder.

    it work in my computer.

    That worked for me, too. Thanks.

    #282731 Reply

    thx1138
    Member

    Also worked with me! Great!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] Error in zip feature.xml

You must be logged in to post in the forum log in