我的 Eclipse 应用程序 UI 在少数工作站上损坏

发布于 2025-01-06 09:43:18 字数 2193 浏览 0 评论 0原文

当我的一位客户在 WINDOWS7 环境中运行我的应用程序时,他们遇到了以下异常,尽管它从未在本地或与其他客户一起重现。

错误消息如下(我复制了 2 个错误实例作为参考,否则我在日志文件中看到很多此类错误消息),在我看来像是 jar 签名问题,有人可以帮助我知道如何解决此类问题(我从未在使用此应用程序的其他客户中见过这样的问题)?

!SESSION 2012-02-13 04:11:42.771 -----------------------------------------------
eclipse.buildId=Build:    262
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

This is a continuation of log file C:\Users\myuser\workspace\.metadata\.bak_0.log
Created Time: 2012-02-13 04:11:52.102

!ENTRY org.eclipse.ui.workbench 2 0 2012-02-13 04:11:52.102
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-02-13 04:11:52.102
!MESSAGE Conflict for 'com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView':
HandlerActivation(commandId=com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView,
    handler=org.eclipse.ui.internal.registry.ShowViewHandler@6245a4,
    expression=,sourcePriority=0)
HandlerActivation(commandId=com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView,
    handler=org.eclipse.ui.internal.registry.ShowViewHandler@1ca4eb4,
    expression=,sourcePriority=0)

!ENTRY org.eclipse.core.jobs 4 2 2012-02-16 07:59:08.157
!MESSAGE An internal error occurred during: "org.eclipse.equinox.launcher.win32.win32.x86".
!STACK 0
java.lang.SecurityException: The signature cannot be verified for this signer META-INF/ECLIPSE.RSA in this bundle: org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile@1558d62
    at org.eclipse.osgi.internal.verifier.SignedBundleFile.setBundleFile(SignedBundleFile.java:495)
    at org.eclipse.osgi.internal.verifier.SignedBundleHook.getVerifier(SignedBundleHook.java:161)
    at org.eclipse.osgi.internal.verifier.SignedBundleHook.getVerifier(SignedBundleHook.java:172)
    at org.eclipse.ui.internal.about.AboutBundleData.isSigned(AboutBundleData.java:107)
    at org.eclipse.ui.internal.dialogs.AboutPluginsDialog$2.run(AboutPluginsDialog.java:105)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

提前致谢

When one of my cusomers run my application in WINDOWS7 envirionment they experienced following exceptions, though it never reproduced locally or with other customers.

The error messages are as follows (i copied 2 instances of the errors as a reference otherwise i see lot of such error messages in their log file), looks to me like jar signing problem, can somebody help me know how to resolve such problems (i never seen such problem with other customers using this application)?

!SESSION 2012-02-13 04:11:42.771 -----------------------------------------------
eclipse.buildId=Build:    262
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

This is a continuation of log file C:\Users\myuser\workspace\.metadata\.bak_0.log
Created Time: 2012-02-13 04:11:52.102

!ENTRY org.eclipse.ui.workbench 2 0 2012-02-13 04:11:52.102
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-02-13 04:11:52.102
!MESSAGE Conflict for 'com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView':
HandlerActivation(commandId=com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView,
    handler=org.eclipse.ui.internal.registry.ShowViewHandler@6245a4,
    expression=,sourcePriority=0)
HandlerActivation(commandId=com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView,
    handler=org.eclipse.ui.internal.registry.ShowViewHandler@1ca4eb4,
    expression=,sourcePriority=0)

!ENTRY org.eclipse.core.jobs 4 2 2012-02-16 07:59:08.157
!MESSAGE An internal error occurred during: "org.eclipse.equinox.launcher.win32.win32.x86".
!STACK 0
java.lang.SecurityException: The signature cannot be verified for this signer META-INF/ECLIPSE.RSA in this bundle: org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile@1558d62
    at org.eclipse.osgi.internal.verifier.SignedBundleFile.setBundleFile(SignedBundleFile.java:495)
    at org.eclipse.osgi.internal.verifier.SignedBundleHook.getVerifier(SignedBundleHook.java:161)
    at org.eclipse.osgi.internal.verifier.SignedBundleHook.getVerifier(SignedBundleHook.java:172)
    at org.eclipse.ui.internal.about.AboutBundleData.isSigned(AboutBundleData.java:107)
    at org.eclipse.ui.internal.dialogs.AboutPluginsDialog$2.run(AboutPluginsDialog.java:105)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

THanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

虐人心 2025-01-13 09:43:18

第一个错误 - 处理程序冲突 - 是由于同一命令 ID com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView 存在两个处理程序。

从处理程序 - org.eclipse.ui.internal.registry.ShowViewHandler - 您可以看到我们正在讨论为所有视图自动生成的处理程序。

所以,我的猜测是您不小心在插件中声明了两次相同的视图 ID。

第二个例外是一个不同的故事......我认为......

The first error - the handler conflict - is due to the existence of two handlers for the same command id com.cybermation.ejsentity.ui.views.navigator.EJSEntityNavigatorView.

From the handler - org.eclipse.ui.internal.registry.ShowViewHandler - you can see that we are talking the about the automatically generated handler for all views.

So, my guess is that you accidentally declare the same view ID twice in the plug-ins.

The second exception is a different story... I think...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文