I18n启动备忘单测试时的问题/例外情况

时间:2012-11-12 09:21:59

标签: java eclipse testing functional-testing jubula

我正在评估GUI测试工具Jubula。在通过备忘单工作时,我陷入了一些我并不理解的错误。

我通过cheet sheet工作,当我尝试开始测试时没有任何反应。以下Stacktraces将打印到clinet日志文件中。有没有人遇到过这些错误并给我一个提示,如何解决这些问题?


2012-11-12 09:11:01.323 [ModalContext] ERROR o.e.jubula.tools.i18n.CompSystemI18n - Cannot find I18N-key in resource bundles: 1
java.util.MissingResourceException: No entry found for key: 1
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getStringInternal(CompSystemI18n.java:128) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getString(CompSystemI18n.java:80) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.initMap(StringHelper.java:154) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.(StringHelper.java:56) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.getInstance(StringHelper.java:85) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.initDefaultNames(ComponentNamesBP.java:743) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.(ComponentNamesBP.java:158) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.getInstance(ComponentNamesBP.java:167) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.persistence.ProjectPM.loadProjectInROSession(ProjectPM.java:507) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.load(OpenProjectHandler.java:274) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.run(OpenProjectHandler.java:121) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) [org.eclipse.jface_3.7.0.v20110928-1505.jar:na]
2012-11-12 09:11:01.339 [ModalContext] ERROR o.e.jubula.tools.i18n.CompSystemI18n - Cannot find I18N-key in resource bundles: 2
java.util.MissingResourceException: No entry found for key: 2
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getStringInternal(CompSystemI18n.java:128) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getString(CompSystemI18n.java:80) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.initMap(StringHelper.java:154) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.(StringHelper.java:56) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.getInstance(StringHelper.java:85) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.initDefaultNames(ComponentNamesBP.java:743) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.(ComponentNamesBP.java:158) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.getInstance(ComponentNamesBP.java:167) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.persistence.ProjectPM.loadProjectInROSession(ProjectPM.java:507) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.load(OpenProjectHandler.java:274) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.run(OpenProjectHandler.java:121) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) [org.eclipse.jface_3.7.0.v20110928-1505.jar:na]
2012-11-12 09:11:01.339 [ModalContext] ERROR o.e.jubula.tools.i18n.CompSystemI18n - Cannot find I18N-key in resource bundles: 3
java.util.MissingResourceException: No entry found for key: 3
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getStringInternal(CompSystemI18n.java:128) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getString(CompSystemI18n.java:80) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.initMap(StringHelper.java:154) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.(StringHelper.java:56) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.getInstance(StringHelper.java:85) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.initDefaultNames(ComponentNamesBP.java:743) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.(ComponentNamesBP.java:158) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.getInstance(ComponentNamesBP.java:167) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.persistence.ProjectPM.loadProjectInROSession(ProjectPM.java:507) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.load(OpenProjectHandler.java:274) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.run(OpenProjectHandler.java:121) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) [org.eclipse.jface_3.7.0.v20110928-1505.jar:na]
2012-11-12 09:11:01.339 [ModalContext] ERROR o.e.jubula.tools.i18n.CompSystemI18n - Cannot find I18N-key in resource bundles: percent
java.util.MissingResourceException: No entry found for key: percent
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getStringInternal(CompSystemI18n.java:128) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.tools.i18n.CompSystemI18n.getString(CompSystemI18n.java:80) ~[org.eclipse.jubula.tools_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.initMap(StringHelper.java:154) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.(StringHelper.java:56) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.utils.StringHelper.getInstance(StringHelper.java:85) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.initDefaultNames(ComponentNamesBP.java:743) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.(ComponentNamesBP.java:158) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.businessprocess.ComponentNamesBP.getInstance(ComponentNamesBP.java:167) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.core.persistence.ProjectPM.loadProjectInROSession(ProjectPM.java:507) [org.eclipse.jubula.client.core_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.load(OpenProjectHandler.java:274) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jubula.client.ui.rcp.handlers.project.OpenProjectHandler$OpenProjectOperation.run(OpenProjectHandler.java:121) [org.eclipse.jubula.client.ui.rcp_1.3.0.201210161256.jar:na]
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) [org.eclipse.jface_3.7.0.v20110928-1505.jar:na]

1 个答案:

答案 0 :(得分:0)

在Jubula Bugzilla中有一个错误条目。它已在当前的开发台中修复,并将与Kepler版本一起发布。这并不重要,但确实使日志文件更加完整:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=393124