0

先週、Eclipse Luna にアップグレードし、多くの WindowTester テスト ケースが失敗し始めました。この背後にある理由は、「WT が [問題] ビュー (小さな下矢印アイコン) でプルダウン メニューを見つけることができず、以下の例外が発生しているためです。回避策はありますか。

私が得る例外は次のとおりです。

java.lang.NullPointerException
    at com.windowtester.runtime.swt.locator.eclipse.PullDownMenuItemLocator$1.call(PullDownMenuItemLocator.java:126)
    at com.windowtester.runtime.swt.locator.eclipse.PullDownMenuItemLocator$1.call(PullDownMenuItemLocator.java:1)
    at com.windowtester.runtime.swt.internal.drivers.MenuDriver.resolveAndSelect0(MenuDriver.java:83)
    at com.windowtester.runtime.swt.internal.drivers.MenuDriver.resolveAndSelect(MenuDriver.java:57)
    at com.windowtester.runtime.swt.locator.eclipse.PullDownMenuItemLocator.click(PullDownMenuItemLocator.java:124)
    at com.windowtester.internal.runtime.selector.ClickHelper.doClick(ClickHelper.java:181)
    at com.windowtester.internal.runtime.selector.ClickHelper.click(ClickHelper.java:69)
    at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:147)
    at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:334)
    at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:140)
    at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:342)
    at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:133)
    at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:304)
    at com.sample.ExportLogEntriesTest.testSaveLogEntries(ExportLogEntriesTest.java:95)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at junit.framework.TestCase.runTest(TestCase.java:176)
    at junit.framework.TestCase.runBare(TestCase.java:141)
    at com.windowtester.runtime.common.UITestCaseCommon.access$0(UITestCaseCommon.java:1)
    at com.windowtester.runtime.common.UITestCaseCommon$2.run(UITestCaseCommon.java:140)
    at com.windowtester.runtime.common.UITestCaseCommon$3.run(UITestCaseCommon.java:161)
    at com.windowtester.internal.runtime.junit.core.SequenceRunner$1.run(SequenceRunner.java:50)
4

1 に答える 1