com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412)

Appcelerator JIRA | benway | 5 years ago
  1. 0

    {html}<div><p>I am working on Aptana Studio, build: 2.0.4.1268158907 on Ubuntu 10.04 and I am trying to activate the Git version control plugin in: Help &gt; Install Aptana features and in the pop-up window I choose "Other", then "Source Control" and then "Git". After half a minute, an error screen appears that suggest I make a bug report, and this is it (see attached screendump).</p> <p>This is the last entry in my aptana log:</p> <p>!ENTRY com.aptana.ide.installer 4 0 2010-10-21 10:35:03.464 !MESSAGE (Build 2.0.0.1255027359) <a href= "/projects/45260/changesets/ERROR" title= "Changeset [ERROR]">[ERROR]</a> Unexpected error encountered while preparing for the operation. !STACK 0 com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install(P2Eclipse35PluginManager.java:190) at com.aptana.ide.installer.wizard.InstallerWizard.performFinish(InstallerWizard.java:98) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:131) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:111) at com.aptana.ide.installer.actions.InstallFeatureAction.run(InstallFeatureAction.java:83) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.ide.rcp.IDEApplication.start(IDEApplication.java:121) at com.aptana.ide.desktop.integration.Application.start(Application.java:56) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)</code> </pre> <p>Caused by: org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Communication with repository at <a href= "http://download.eclipse.org/egit/updates/">http://download.eclipse.org/egit/updates/</a> failed.<br></p> <pre> <code>at org.eclipse.equinox.internal.p2.metadata.repository.CacheManager.createCache(CacheManager.java:136) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.getLocalFile(CompositeMetadataRepositoryFactory.java:61) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.validateAndLoad(CompositeMetadataRepositoryFactory.java:103) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:87) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:54) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:669) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:617) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager$3.run(P2Eclipse35PluginManager.java:346) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)</code> </pre> <p>Caused by: java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:204) at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)</code> </pre></div>{html}

    Appcelerator JIRA | 5 years ago | benway
    com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412)
  2. 0

    {html}<div><p>I am working on Aptana Studio, build: 2.0.4.1268158907 on Ubuntu 10.04 and I am trying to activate the Git version control plugin in: Help &gt; Install Aptana features and in the pop-up window I choose "Other", then "Source Control" and then "Git". After half a minute, an error screen appears that suggest I make a bug report, and this is it (see attached screendump).</p> <p>This is the last entry in my aptana log:</p> <p>!ENTRY com.aptana.ide.installer 4 0 2010-10-21 10:35:03.464 !MESSAGE (Build 2.0.0.1255027359) <a href= "/projects/45260/changesets/ERROR" title= "Changeset [ERROR]">[ERROR]</a> Unexpected error encountered while preparing for the operation. !STACK 0 com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install(P2Eclipse35PluginManager.java:190) at com.aptana.ide.installer.wizard.InstallerWizard.performFinish(InstallerWizard.java:98) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:131) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:111) at com.aptana.ide.installer.actions.InstallFeatureAction.run(InstallFeatureAction.java:83) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.ide.rcp.IDEApplication.start(IDEApplication.java:121) at com.aptana.ide.desktop.integration.Application.start(Application.java:56) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)</code> </pre> <p>Caused by: org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Communication with repository at <a href= "http://download.eclipse.org/egit/updates/">http://download.eclipse.org/egit/updates/</a> failed.<br></p> <pre> <code>at org.eclipse.equinox.internal.p2.metadata.repository.CacheManager.createCache(CacheManager.java:136) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.getLocalFile(CompositeMetadataRepositoryFactory.java:61) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.validateAndLoad(CompositeMetadataRepositoryFactory.java:103) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:87) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:54) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:669) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:617) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager$3.run(P2Eclipse35PluginManager.java:346) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)</code> </pre> <p>Caused by: java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:204) at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)</code> </pre></div>{html}

    Appcelerator JIRA | 5 years ago | benway
    com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412)

    Root Cause Analysis

    1. com.aptana.ide.update.manager.PluginManagerException

      Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412)

      at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install()
    2. com.aptana.ide
      InstallerWizard.performFinish
      1. com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install(P2Eclipse35PluginManager.java:190)
      2. com.aptana.ide.installer.wizard.InstallerWizard.performFinish(InstallerWizard.java:98)
      2 frames
    3. JFace
      Dialog$2.widgetSelected
      1. org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
      2. org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
      3. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
      3 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
      5 frames
    5. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    6. com.aptana.ide
      InstallFeatureAction.run
      1. com.aptana.ide.installer.Activator.launchWizard(Activator.java:131)
      2. com.aptana.ide.installer.Activator.launchWizard(Activator.java:111)
      3. com.aptana.ide.installer.actions.InstallFeatureAction.run(InstallFeatureAction.java:83)
      3 frames
    7. Eclipse UI
      PluginAction.runWithEvent
      1. org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
      1 frame
    8. JFace
      ActionContributionItem$6.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      3. org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
      3 frames
    9. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
      4 frames
    10. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      4. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      4 frames
    11. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    12. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
      1 frame
    13. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    14. com.aptana.ide
      Application.start
      1. com.aptana.ide.rcp.IDEApplication.start(IDEApplication.java:121)
      2. com.aptana.ide.desktop.integration.Application.start(Application.java:56)
      2 frames
    15. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
      1 frame
    16. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    18. Equinox
      Main.basicRun
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      2 frames