org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via SpringSource Issue Tracker by Tomasz Zarna, 1 year ago
The widget was null.
via SpringSource Issue Tracker by Tomasz Zarna, 1 year ago
The widget was null.
via eclipse.org by Unknown author, 2 years ago
The widget {(of type 'MenuItem' and with mnemonic 'Resolve icon')} was disposed.
via GitHub by apodhrad
, 2 years ago
The widget {TabbedPropertyList$ListElement with text {}} was disposed.
via eclipse.org by Unknown author, 2 years ago
The widget {(of type 'MenuItem' and with mnemonic 'Copy')} was disposed.
via eclipse.org by Unknown author, 2 years ago
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.(AbstractSWTBot.java:97)
at org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu.(SWTBotMenu.java:42)
at org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu.menu(SWTBotMenu.java:96)
at org.springsource.ide.eclipse.commons.frameworks.test.util.UITestCase.activateFileNewWizardShell(UITestCase.java:337)
at org.springframework.ide.eclipse.roo.test.RooUITestCase.createRooProject(RooUITestCase.java:43)
at org.springframework.ide.eclipse.roo.test.RooShellTests.setupClass(RooShellTests.java:35)
at org.springsource.ide.eclipse.commons.frameworks.test.util.UITestCase.setUp(UITestCase.java:69)
at junit.framework.TestCase.runBare(TestCase.java:132)
at org.eclipse.swtbot.swt.finder.SWTBotTestCase.runBare(SWTBotTestCase.java:228)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.main(RemotePluginTestRunner.java:64)
at org.eclipse.swtbot.eclipse.core.UITestApplication.runTests(UITestApplication.java:117)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.