Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3
Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3 [message #1064497] Wed, 19 June 2013 13:50 Go to next message
Noga Rotman is currently offline Noga Rotman
Messages: 23
Registered: June 2013
Junior Member
Hi all,

Trying to post again, seems my last message wasn't posted.

I've been using the SWTBot for several months now on Eclipse 3.7.

I've tried to upgrade to 4.2.2, and once I was unsuccessful, to 4.3. In both cases, I've installed the SWTBot plugin, but when trying to run an SWTBot test, I got a long list of missing bundles (which I never needed before), and the following exception:

java.lang.RuntimeException: Application "org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be found in the registry.

I'm running the newest SWTBot version - 2.1.1, from the snapshot, as I understood there is a problem with dependencies with the current version.

If you could stir me in the right direction, I'd be grateful.


Thanks,
Noga
Re: Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3 [message #1065418 is a reply to message #1064497] Tue, 25 June 2013 15:48 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 755
Registered: July 2009
Location: Grenoble, France
Senior Member
> java.lang.RuntimeException: Application
> "org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be
> found in the registry.
>
> I'm running the newest SWTBot version - 2.1.1, from the snapshot, as I
> understood there is a problem with dependencies with the current version.

Can you give more details, such as the whole stack trace and the log?


--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3 [message #1066086 is a reply to message #1065418] Sun, 30 June 2013 05:24 Go to previous messageGo to next message
Noga Rotman is currently offline Noga Rotman
Messages: 23
Registered: June 2013
Junior Member
Hi Mickael,

Thanks for your response.

Attached is the log. It seems like a dependency issue, but I can't seem to figure it out - some basics, like the pde bundle is said to be missing, even though I'm using the "Eclipse for RCP and RAP Developers" version.


Thanks again,
Noga
Re: Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3 [message #1066129 is a reply to message #1066086] Mon, 01 July 2013 07:37 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 755
Registered: July 2009
Location: Grenoble, France
Senior Member
On 06/30/2013 07:24 AM, Noga Rotman wrote:
> !MESSAGE Missing required bundle org.eclipse.ui_0.0.0.

This is not an SWTBot problem. The setup of your test platform seems to
miss the org.eclipse.ui bundle, so your application can't start.
Just make sure org.eclipse.ui is part of your test instance.

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Problem with SWTBot after upgrading to Eclipse 4.2 and 4.3 [message #1067179 is a reply to message #1066129] Sun, 07 July 2013 08:14 Go to previous message
Noga Rotman is currently offline Noga Rotman
Messages: 23
Registered: June 2013
Junior Member
Hi Mickael,

The bundle is a part of the test instance. The long list actually includes every bundle I've included in the test.

Looking further into it, it doesn't look like a SWTBot issue, but maybe an OSGI issue, or some other type of problem. I'll keep investigating.


Thanks again for your help,
Noga
Previous Topic:SWTbot vs Jubula
Next Topic:Exception in thread "WorkbenchTestable" when running SWTBot test
Goto Forum:
  


Current Time: Mon Sep 22 18:23:15 GMT 2014

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

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