在以下期间发生内部错误:“加载捆绑[...]” [英] An internal error occurred during: "Loading bundle[...]"

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

问题描述

我已经开始使用Eclipse Luna插件Aptana Studio 3,并且在一段时间内工作得很好,但是在以root用户身份运行Eclipse以将IDE更新为4.4.1版本后,每次Eclipse启动时,我将获得以下内容错误消息:


在以下期间发生内部错误:加载bundle:
/opt/eclipse/configuration/org.eclipse。的OSGi / 873/0 / .cp /捆绑/ php.ruble。
org.eclipse.osgi.internal.framework.EquinoxConfiguration $ 1不能
转换为java.lang.String


我收到另一个Aptana包的错误消息。



我已经尝试重新安装Eclipse和Aptana Studio,但没有任何工作。
如果有人能帮忙,我会很高兴的。对不起,英文不好,我不是母语。



这是一个日志示例:

 !ENTRY org.eclipse.core.jobs 4 2 2014-09-27 19:19:23.753 
!MESSAGE在以下期间发生内部错误:加载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不能转换为java.lang.String
在org.jruby.util.OSEnvironment .getAsMapOfRubyStrings(OSEnvironment.java:90)
在org.jruby.util.OSEnvironment.getSystemPropertiesMap(OSEnvironment.java:75)
在org.jruby.RubyGlobal.defineGlobalEnvConstants(RubyGlobal.java:393)
在org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:358)
在org.jruby.Ruby.init(Ruby.java:1078)
在org.jruby.Ruby.newInstance( Ruby.java:186)
在org.jruby.embed.internal.SingletonLocalContextProvider.getRuntime(SingletonLocalContextProvider.java:95)
在org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.runParser(EmbedRubyRuntimeAdapterImpl.java: 166)
在org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.parse(EmbedRubyRuntimeAdapterImpl.java:93)
在org.jruby.embed.ScriptingContainer.parse(ScriptingContainer.java:1163)
在或g.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1223)
在com.aptana.scripting.ScriptingEngine.getInitializedScriptingContainer(ScriptingEngine.java:292)
在com.aptana.scripting.model。 ScriptLoadJob.run(ScriptLoadJob.java:76)
在com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
在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)
在com.aptana.scripting.model.BundleManager $ BundleLoadJob.run(BundleManager.java:129)
在org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


解决方案

我有同样的问题。
从上一篇文章构建,如果遗漏,Eclipse团队有已经提供了补丁



应用补丁的步骤:


  1. 打开Eclipse>帮助>安装新软件

  2. 在使用:字段中输入 http://download.eclipse.org/eclipse/updates/4.4/

  3. 从填充列表中选择Eclipse 4.4 .1补丁错误445122。点击下一步

  4. 让Eclipse执行所需的检查。单击下一步

  5. 在安装详细信息屏幕中,单击下一步

  6. 完成修补程序安装过程并重新启动Eclipse。

我的Eclipse上的问题已经过去了。
在Win7中我正在使用:
Eclipse IDE for Java Developers
版本:Luna Service Release 1(4.4.1)
Build id:20140925-1800


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:

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

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

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.

Here's a log sample:

!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)

解决方案

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

Steps to apply patch:

  1. Open Eclipse > Help > Install New Software
  2. In "Work with:" field, enter http://download.eclipse.org/eclipse/updates/4.4/
  3. From the populated list, select Eclipse 4.4.1 Patches for bug 445122 . Click "Next"
  4. Let Eclipse perform the needed checks. Click "Next"
  5. In "Install Details" screen, click "Next"
  6. Finish the patch installation process and restart Eclipse.

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天全站免登陆