【发布时间】:2015-10-16 14:38:50
【问题描述】:
你能帮我解决一个问题吗?
直到最近我一直在 Eclipse Luna 上工作,我所有的 e4 项目都在 Linux x86 下运行良好(JDK7 和 Eclipse 也是 32 架构)。 现在我迁移到一台装有 64 位 Linux 的较新计算机。我安装了 JDK7 或 Eclipse Luna 64 位。但我无法运行我的 RCP 应用程序。有很多这样的错误:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.571 !MESSAGE 事件管理服务不可用,无法发布事件 org.osgi.service.event.Event [主题=org/eclipse/e4/ui/model/ui/Context/context/SET]。
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.590 !MESSAGE 事件管理服务不可用,无法发布事件 org.osgi.service.event.Event [主题=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET]。
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.591 !MESSAGE 事件管理服务不可用,无法发布事件 org.osgi.service.event.Event [主题=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD]。
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.597 !MESSAGE 事件管理服务不可用,无法发布事件 org.osgi.service.event.Event [主题=org/eclipse/e4/ui/model/ui/UIElement/widget/SET]。
等等……
这是什么意思以及如何解决?我在 4.x Eclipse 版本上创建了我的项目。
我尝试了什么:
- 将项目放到新的工作区
- 清除和重新制作 Eclipse 产品依赖项
但我遇到了同样的错误
【问题讨论】:
-
在这些事件管理消息之前的 .log 文件中是否有任何更早的消息?
-
@greg-449 不,只是运行时信息:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 !SESSION 2015-07-26 16:27:53.892 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_45 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ru_RU Framework arguments: -product runner.product -clearPersistedState Command-line arguments: -product ...
标签: java linux eclipse eclipse-rcp 32bit-64bit