Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » java.lang.Exception: Could not find plugin
java.lang.Exception: Could not find plugin [message #1391206] Mon, 30 June 2014 15:40 Go to next message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
Hi All, i am Getting this java.lang.Exception: Could not find plugin Exception when i try to Run the Test from ant/Command line. I was Working with the Same few versions back and it was working fine that time.
I am using Eclipse 4.2 and latest swtbot 2.2.1,
I am not able to understand why this Problem is coming, because plugins are successfully deployed from Eclipse UI to plugins Folder.

Why it is not able to detect plugin, please help..
Following is the Exception i am getting..

Install location:
file:/c:/GoldenSource/Workbench_8.5.1_RC5/eclipse/
Configuration file:
file:/c:/GoldenSource/Workbench_8.5.1_RC5/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/GoldenSource/Workbench_8.5.1_RC5/eclipse/configuration/
Framework located:
file:/c:/GoldenSource/Workbench_8.5.1_RC5/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Framework classpath:
file:/c:/GoldenSource/Workbench_8.5.1_RC5/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Debug options:
file:/C:/GoldenSource/Workbench_8.5.1_RC5/Automated_Runs/.options not found
Time to load bundles: 5
Starting application: 736
30 Jun 2014 21:01:52,508 INFO CommonPlugin:136 - Logger configuration starting......
30 Jun 2014 21:01:52,515 INFO CommonPlugin:140 - Plugin url = /
30 Jun 2014 21:01:52,723 INFO CommonPlugin:112 - Initialized logging for Goldensource workbench.
Testsuite: com.GS.CEN.TestCases.GSQA_MR_5050
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

Caused an ERROR
java.lang.Exception: Could not find plugin "com.GoldenSource.TestCases"
org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner$TestFailedException: java.lang.Exception: Could not find plugin "com.GoldenSource.TestCases"
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.runFailed(EclipseTestRunner.java:289)
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.getTest(EclipseTestRunner.java:242)
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.<init>(EclipseTestRunner.java:222)
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.swtbot.eclipse.junit.headless.UITestApplication.runTests(UITestApplication.java:116)
at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.Exception: Could not find plugin "com.GoldenSource.TestCases"
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.loadSuiteClass(EclipseTestRunner.java:303)
at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.getTest(EclipseTestRunner.java:239)

Application Started: 3143
30 Jun 2014 21:01:54,126 INFO CommonPlugin:87 - Stopping Common plugin ...

[Updated on: Mon, 30 June 2014 15:46]

Report message to a moderator

Re: java.lang.Exception: Could not find plugin [message #1395828 is a reply to message #1391206] Mon, 07 July 2014 12:58 Go to previous messageGo to next message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
Please any One Reply.. I am kind of Stuck with this Issue
Re: java.lang.Exception: Could not find plugin [message #1395855 is a reply to message #1395828] Mon, 07 July 2014 13:46 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

"Could not find plugin" isn't really a SWTBot issue. It means that the
application you're starting is either missing this plugin or one of its
dependencies so the test cannot be loaded.
Make sure the application you're starting contains the bundle + all its
transitive dependencies.
Re: java.lang.Exception: Could not find plugin [message #1401263 is a reply to message #1395855] Tue, 15 July 2014 11:13 Go to previous message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
Thanks Mickael for the Reply.

problem solved as i was missing some dependency in my Plugin which can be automatically added by Eclipse but i Command Line we need to add them in my Plugin.

Previous Topic:Ho do i invoke my SWTbot Test using Java Class
Next Topic:How do I launch a certain project in SWTBot Plug-in test?
Goto Forum:
  


Current Time: Thu Oct 10 19:41:26 GMT 2024

Powered by FUDForum. Page generated in 0.04040 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top