org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException

Could not find widget.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

  • Could not find widget.
  • via GitHub by rajkuma1
    , 11 months ago
    Could not find widget.
  • Could not find widget.
  • Stack trace

    • org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find widget. at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntilWidgetAppears(SWTBotFactory.java:348) at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:257) at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:208) at com.example.test.project.tests.CreateScope.openScopeDialog(CreateScope.java:211) at com.example.test.project.tests.CreateScope.sendToMPP(CreateScope.java:167) at com.example.test.project.tests.CreateScope.test(CreateScope.java:124) 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:601) Caused by: org.eclipse.swtbot.swt.finder.widgets.TimeoutException: Timeout after: 5000 ms.: Could not find a menu within the shell 'Shell with text {Shell {...}}' matching 'with mnemonic 'Open new Scope'' at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:398) at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:372)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago