Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Unable to launch the application from RCPTT IDE
icon9.gif  Unable to launch the application from RCPTT IDE [message #1728122] Thu, 31 March 2016 08:52 Go to next message
Alexei Vinogradov is currently offline Alexei VinogradovFriend
Messages: 2
Registered: March 2016
Junior Member
I am doing evalution of RCP TT for our project, but failed to get started with it. Any help for me?

------------
I am using RCP Testing Tool IDE Version: 2.0.2 M4

My Application starts without troubles if I click at APP.exe in it's folder.

Application -> New, added location of APP.exe, everything is fine, to see as "de.company.app.workbench.product" in Applications Window.

Launch -> Fails with "Process was terminated while waiting for AUT startup data".

First Error:

!ENTRY de.company.app.some.submodule 4 0 2016-03-31 10:48:33.755
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "de.company.app.some.submodule_12.1.0.201603300954 [51]" could not be resolved. Reason: Missing Constraint: Require-Bundle: de.company.siteinfo.api; bundle-version="[16.0.0,17.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

Last Error:

!ENTRY org.eclipse.osgi 4 0 2016-03-31 10:45:19.703
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "de.company.app.Application" could not be found in the registry. The applications available are: net.refractions.udig.ui.application, org.eclipse.ant.core.antRunner, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.rcptt.ecl.doc.generator, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

Re: Unable to launch the application from RCPTT IDE [message #1729769 is a reply to message #1728122] Mon, 18 April 2016 18:10 Go to previous messageGo to next message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 75
Registered: February 2015
Member
Hi Alexei,

It seems RCPTT could not find bundle `de.company.siteinfo.api` or it has wrong version.

Could you please check if it is inside of your application folder.
We use PDE to discover target platform, so please check if your application not uses shared eclipse installation, we aren't support this scenario.

To help understand why it is not starting we could look inside next file to see a list of all discovered by RCPTT:
${tour_workspace}/.metadata/.plugins/org.eclipse.pde.core/{AUT_name}/org.eclipse.equinox.simpleconfigurator/bundles.info

Also it would be good if you will have a chance to try 2.1 nightly version of RCPTT since it is based on Eclipse Neon (https://www.eclipse.org/rcptt/download)

Best regards,
Andrey.
Re: Unable to launch the application from RCPTT IDE [message #1730131 is a reply to message #1729769] Thu, 21 April 2016 15:04 Go to previous message
Alexei Vinogradov is currently offline Alexei VinogradovFriend
Messages: 2
Registered: March 2016
Junior Member
${tour_workspace}/.metadata/.plugins/org.eclipse.pde.core/{AUT_name}/org.eclipse.equinox.simpleconfigurator/bundles.info:
...
de.company.siteinfo.api,16.0.0.201603302114,file:/C:/<path_to_aut>/plugins/de.company.siteinfo.api_16.0.0.201603302114.jar,4,false
...

So it is discovered?

------
The latest RCPTT Nightly doesn't start at all (I will send you the logs per email).
Previous Topic:Why procedure doesn't return the same result ?
Next Topic:Use a specific autVM with the maven plugin.
Goto Forum:
  


Current Time: Wed Apr 24 16:15:33 GMT 2024

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

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

Back to the top