Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Failed to launch product while trying to record or run a test case
Failed to launch product while trying to record or run a test case [message #1764682] Thu, 01 June 2017 11:26 Go to next message
Vikhyat Prabhu is currently offline Vikhyat PrabhuFriend
Messages: 6
Registered: September 2015
Junior Member
I am newbie to Eclipse RCPTT and we areusing RCPTT to test our application until recently. But from the past few days all of our team members are facing this issue where a test cannot be run or recorded. There has been no change in the product but this issue is suddenly stopping our work when we were just getting used to RCPTT. It would be great if somebody could point me to the solution of this issue


java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at org.eclipse.rcptt.launching.internal.target.Q7Target$AutInstall.getBundlesString(Q7Target.java:158)
at org.eclipse.rcptt.launching.internal.target.Q7Target$AutInstall.configIniBundles(Q7Target.java:140)
at org.eclipse.rcptt.launching.ext.Q7ExternalLaunchDelegate.isAutConfigSimpleconfiguratorSet(Q7ExternalLaunchDelegate.java:735)
at org.eclipse.rcptt.launching.ext.Q7ExternalLaunchDelegate.collectBundlesCheck(Q7ExternalLaunchDelegate.java:762)
at org.eclipse.rcptt.launching.ext.Q7ExternalLaunchDelegate.preLaunchCheck(Q7ExternalLaunchDelegate.java:604)
at org.eclipse.pde.launching.AbstractPDELaunchConfiguration.launch(AbstractPDELaunchConfiguration.java:57)
at org.eclipse.rcptt.launching.ext.Q7ExternalLaunchDelegate.launch(Q7ExternalLaunchDelegate.java:125)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.eclipse.rcptt.internal.launching.ext.ExternalLaunchExecutor.launch(ExternalLaunchExecutor.java:30)
at org.eclipse.rcptt.internal.launching.aut.BaseAut.launch(BaseAut.java:47)
at org.eclipse.rcptt.ui.launching.LaunchUtils$4.run(LaunchUtils.java:383)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Re: Failed to launch product while trying to record or run a test case [message #1764690 is a reply to message #1764682] Thu, 01 June 2017 12:07 Go to previous messageGo to next message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 109
Registered: March 2017
Senior Member
Hi Vikhyat,

If you use RCPTT as plugin in your Eclipse IDE, try to update 'Guava: Google Core Libraries for Java' plugin (com.google.guava) in your Eclipse instance to 21 version.
It can be downloaded from Orbit Update Site: http://download.eclipse.org/tools/orbit/downloads/drops/R20170307180635/repository/
Re: Failed to launch product while trying to record or run a test case [message #1764747 is a reply to message #1764690] Fri, 02 June 2017 05:34 Go to previous messageGo to next message
Vikhyat Prabhu is currently offline Vikhyat PrabhuFriend
Messages: 6
Registered: September 2015
Junior Member
I tried this but it did not work. I am confused now if it is something to do with our product or the IDE. Because even a fresh install of an IDE did not solve this. Should the product(aut) have google.common?
Re: Failed to launch product while trying to record or run a test case [message #1764774 is a reply to message #1764747] Fri, 02 June 2017 08:54 Go to previous messageGo to next message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 109
Registered: March 2017
Senior Member
> Should the product(aut) have google.common?
No, but RCPTT should contain it.

Do you use RCPTT IDE or RCPTT plugin installed into your Eclipse? And what version of RCPTT do you use?

If you use RCPTT 2.1.0, try to download RCPTT 2.2.0 nightly here: https://www.eclipse.org/rcptt/download/

[Updated on: Fri, 02 June 2017 09:00]

Report message to a moderator

Re: Failed to launch product while trying to record or run a test case [message #1764962 is a reply to message #1764774] Mon, 05 June 2017 07:01 Go to previous messageGo to next message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 109
Registered: March 2017
Senior Member
Also, please attach bundles.info file.
Its location is <app>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info ('app' is 'eclipse', if you use RCPTT as plugin in your Eclipse IDE, and 'rcptt' if you use RCPTT IDE)
Re: Failed to launch product while trying to record or run a test case [message #1765051 is a reply to message #1764682] Tue, 06 June 2017 08:12 Go to previous messageGo to next message
Vikhyat Prabhu is currently offline Vikhyat PrabhuFriend
Messages: 6
Registered: September 2015
Junior Member
I found the problem . Somehow there are features in my IDE that need different versions of google.guava(13,15 and 21) . Is there a specific way to make RCPTT use the latest version of guava ? Because on uninstalling one of the versions of guava some parts of my IDE(for example Mylyn doesnt work) are getting corrupt.
Re: Failed to launch product while trying to record or run a test case [message #1765089 is a reply to message #1765051] Tue, 06 June 2017 13:30 Go to previous message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 109
Registered: March 2017
Senior Member
Looking at the stacktrace, RCPTT already use latest guava. Try to update RCPTT to 2.2.0 nightly, in this version we removed deprecated guava methods usage.
RCPTT 2.2.0 nightly can be installed from here: http://download.eclipse.org/rcptt/nightly/2.2.0/latest/repository/
Previous Topic:freezing problem - RCPTT loses connection with AUT
Next Topic:It is not possible to get The full list of ECL commands with their usage examples
Goto Forum:
  


Current Time: Tue Jun 19 22:24:04 GMT 2018

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

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

Back to the top