【问题标题】:Is Eclipse Bug 471813 related to Aptana?Eclipse Bug 471813 是否与 Aptana 相关?
【发布时间】:2018-01-10 04:23:38
【问题描述】:

我在 Eclipse Mars (4.5.0) 上安装了 EGit 4.0。当我尝试从 GitHub 克隆一个项目时,当我进入“Source Git Repository”对话框时总是会收到错误消息。复制存储库 URL 后,我会立即收到消息“内部错误;请参阅 Eclipse 错误日志。”

我将此问题报告为bug 471813。错误报告很快就关闭了,来自 Andrey Loskutov 的这条消息:

抱歉,不是 Eclipse 问题:“无法找到安全存储模块 (com.aptana.ide.security.linux.provider)。”请联系 Aptana 开发人员 寻求帮助。

但是,我没有在这个 Eclipse 实例上安装 Aptana(也没有在任何其他实例上)。为什么这个问题归咎于 Aptana?

【问题讨论】:

  • 因为错误是指'com.aptana.ide.security.linux.provider',它似乎是Aptana代码,它肯定不是核心Eclipse代码。
  • 如果我从未在 Eclipse Mars 上安装过 Aptana,为什么会使用/调用这段代码?

标签: eclipse aptana egit


【解决方案1】:

您可能已经/已经在同一台机器上的另一个 Eclipse 安装上安装了 aptana。我遇到了同样的问题,我通过重置我的安全存储解决了这个问题。首选项 -> 常规 -> 安全 -> 安全存储 -> 内容选项卡。

在“内容”选项卡下,您将在左侧看到安全商店列表。选择安全存储,然后按右侧的删除按钮。

【讨论】:

  • 您好 Faheem,您的回答看起来很有希望,但我在您引用的菜单中找不到任何重置安全存储的方法。你能详细说明你的答案吗?
  • 稍微修改了我的答案。
【解决方案2】:

很可能是一个 Eclipse 问题。具体来说,eclipse 使用同一个文件来存储系统上安装的所有 eclipse 版本的 git 登录信息。他们将此称为Secure Storage 文件。

当您安装了 32 位和 64 位版本的 eclipse 时,问题就显现出来了。对我来说,发生这种情况是因为我使用 eclipse 进行 python 开发,使用 Code Composer Studio 进行嵌入式软件 DSP。 Code Composer Studio 是 32 位版本 eclipse 的包装器。

由于 32 位版本无法读取 64 位版本的文件,您会收到错误消息。

我用来解决此问题的解决方案是使用 -eclipse.keyring 选项启动 eclipse。

对于代码编写器,请编辑 ccstudio.ini。对于 Eclipse 编辑 eclipse.ini。在-vmargs 行之前添加选项:

-eclipse.keyring
@user.home/.eclipse/org.eclipse.equinox.security/secure_storage.32

整个 ccstudio.ini 文件如下所示:

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
com.ti.ccstudio.branding.product
--launcher.XXMaxPermSize
256M
-showsplash
com.ti.ccstudio.branding
--launcher.defaultAction
openFile
--launcher.appendVmargs
-eclipse.keyring
@user.home/.eclipse/org.eclipse.equinox.security/secure_storage.32
-vmargs
-Dosgi.instance.area.default=@user.home/workspace_v6_2
-Dorg.eclipse.equinox.http.jetty.customizer.class=com.ti.ccstudio.gui.composer.http.jetty.MaqettaJettyCustomizer
-Dccs.minXDCVersion=3.25.5.1
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000
-Dsun.net.client.defaultConnectTimeout=10000
-Xms128m
-Xmx768m
-XX:ErrorFile=C:\Users\ENGINE~1\AppData\Local\TEXASI~1\CCS\ti\2\dmp\\hs_err_%p.log

【讨论】:

  • 感谢您的详细评论。我鼓励您通过bug report 分享此内容。
猜你喜欢
  • 1970-01-01
  • 2010-12-09
  • 2023-03-11
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多