Exception in thread "WorkbenchTestable" when running SWTBot test [message #1067657] |
Tue, 09 July 2013 20:07 |
Jiajian Lei Messages: 36 Registered: June 2013 |
Member |
|
|
I got the following errors when running the SWTBot test project.
It says 'No Classloader found for plug-in swtbot', where swtbot is the name of the SWTBot test project.
I tried adding the Plug-in 'com.teradata.pde.ggdb.ui' and 'org.eclipse.ui.navigator' to manifest, but that didn't solve the problem.
I have also tried the solution from other posts that goes to run configuration and selects 'plugins selected below only', and checks off all plugins from Target Platform and only the test project plug-in from Workspace. The problem still remains.
!ENTRY org.eclipse.ui.navigator 2 0 2013-07-09 12:59:43.197
!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.tcf.te.tcf.ui.navigator.content
!ENTRY org.eclipse.ui 4 4 2013-07-09 12:59:43.773
!MESSAGE Plug-in 'com.teradata.pde.ggdb.ui' contributed an invalid Menu Extension (Path: 'org.eclipse.ui.run' is invalid): com.teradata.pde.ggdb.ui.function.quickwatch
Exception in thread "WorkbenchTestable" java.lang.IllegalArgumentException: No Classloader found for plug-in swtbot
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.getClassLoader(RemotePluginTestRunner.java:79)
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.getTestClassLoader(RemotePluginTestRunner.java:73)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.main(RemotePluginTestRunner.java:64)
at org.eclipse.swtbot.eclipse.core.UITestApplication.runTests(UITestApplication.java:117)
at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
at java.lang.Thread.run(Thread.java:662)
[Updated on: Tue, 09 July 2013 20:51] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04137 seconds