在以下过程中发生内部错误:“正在加载包 [...]" [英] An internal error occurred during: "Loading bundle[...]"

查看:24
本文介绍了在以下过程中发生内部错误:“正在加载包 [...]"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始使用带有插件 Aptana Studio 3 的 Eclipse Luna 并且它运行良好一段时间,但是在我以 root 身份运行 Eclipse 以将 IDE 更新到版本 4.4.1 之后,每次 Eclipse 启动时我都会得到以下信息错误信息:

I've started using Eclipse Luna with the plugin Aptana Studio 3 and it worked quite well for a while, but after I ran Eclipse as root to update the IDE to version 4.4.1, every time Eclipse starts I get the following error message:

在以下过程中发生内部错误:正在加载包:/opt/eclipse/configuration/org.eclipse.osgi/873/0/.cp/bundles/php.ruble".org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 不能是强制转换为 java.lang.String

An internal error occurred during: "Loading bundle: /opt/eclipse/configuration/org.eclipse.osgi/873/0/.cp/bundles/php.ruble". org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String

对于其他 Aptana 包,我也收到此错误消息.

I get this error message for the other Aptana bundles as well.

我已经尝试重新安装 Eclipse 和 Aptana Studio,但还没有任何效果.如果有人可以提供帮助,我会很高兴.抱歉英语不好,我不是母语人士.

I've tried reinstalling Eclipse and Aptana Studio but nothing has worked yet. I'd be very glad if someone could help. Sorry for bad english, I'm not a native speaker.

这是一个日志示例:

!ENTRY org.eclipse.core.jobs 4 2 2014-09-27 19:19:23.753
!MESSAGE An internal error occurred during: "Loading bundle: /opt/eclipse/configuration/org.eclipse.osgi/873/0/.cp/bundles/php.ruble".
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
    at org.jruby.util.OSEnvironment.getAsMapOfRubyStrings(OSEnvironment.java:90)
    at org.jruby.util.OSEnvironment.getSystemPropertiesMap(OSEnvironment.java:75)
    at org.jruby.RubyGlobal.defineGlobalEnvConstants(RubyGlobal.java:393)
    at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:358)
    at org.jruby.Ruby.init(Ruby.java:1078)
    at org.jruby.Ruby.newInstance(Ruby.java:186)
    at org.jruby.embed.internal.SingletonLocalContextProvider.getRuntime(SingletonLocalContextProvider.java:95)
    at org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.runParser(EmbedRubyRuntimeAdapterImpl.java:166)
    at org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.parse(EmbedRubyRuntimeAdapterImpl.java:93)
    at org.jruby.embed.ScriptingContainer.parse(ScriptingContainer.java:1163)
    at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1223)
    at com.aptana.scripting.ScriptingEngine.getInitializedScriptingContainer(ScriptingEngine.java:292)
    at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:76)
    at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
    at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:180)
    at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:274)
    at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:243)
    at com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2032)
    at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:129)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

推荐答案

我遇到了同样的问题.根据上一篇文章构建,如果遗漏了,Eclipse 团队有 已经提供了补丁:

I had the same issue. Building from the previous post, and in case it was missed, the Eclipse team has already provided a patch:

应用补丁的步骤:

  1. 打开 Eclipse > 帮助 > 安装新软件
  2. 在使用:"字段中,输入 http://download.eclipse.org/eclipse/updates/4.4/
  3. 从填充的列表中,选择 Eclipse 4.4.1 Patches for bug 445122 .点击下一步"
  4. 让 Eclipse 执行所需的检查.点击下一步"
  5. 在安装详细信息"屏幕中,单击下一步"
  6. 完成补丁安装过程并重新启动 Eclipse.

我的 Eclipse 上的问题在此之后就消失了.在 Win7 中,我使用:面向 Java 开发人员的 Eclipse IDE版本:Luna Service Release 1 (4.4.1)版本号:20140925-1800

The problem on my Eclipse was gone after this. In Win7 I am using: Eclipse IDE for Java Developers Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800

这篇关于在以下过程中发生内部错误:“正在加载包 [...]"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆