Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Cannot launch AUT
Cannot launch AUT [message #1488312] Wed, 26 November 2014 13:55 Go to next message
rhimo paulisson is currently offline rhimo paulissonFriend
Messages: 5
Registered: November 2014
Junior Member
Hi,

When trying to launch AUT with RCPTT, I get this error "Bootstrap code cannot be found".

I tried a lot of different configurations but nothing helps.

I've attached the log file.

Have you any idea how I can make it work ?

Thank you

Rhimo
  • Attachment: aut.log
    (Size: 2.17KB, Downloaded 144 times)
Re: Cannot launch AUT [message #1488356 is a reply to message #1488312] Wed, 26 November 2014 14:39 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for contacting us.
Your application has multiple launchers for different platforms. RCPTT is probably confused by these.
Could you please send us the following files:

  • Original <your AUT>.ini
  • <your AUT>/configuration/config.ini
  • <your AUT>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
This information typically helps us to investigate AUT startup issues.




Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1488386 is a reply to message #1488356] Wed, 26 November 2014 15:05 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Also, we have several questions about your AUT.
How do you usually run your application? Could you please send us a command line of your usual application run?
Is there plugin/org.eclipse.equinox.launcher*.jar file in your AUT?

Looking forward to answers and requested files.


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1488443 is a reply to message #1488386] Wed, 26 November 2014 16:07 Go to previous messageGo to next message
rhimo paulisson is currently offline rhimo paulissonFriend
Messages: 5
Registered: November 2014
Junior Member
Hi,

I attached myaut.ini and config.ini files.

There is no org.eclipse.equinox.simpleconfigurator folder in my configuration folder.

Ususally, the application is launched with JavaWebStart.
Webstart being not ideal for me, I managed to get it launched with a command line using eclipse.exe (see launchcmd.txt attached) and that's why I thought RCPTT should be able to launch it too.

Here's what configuration folder looks like :
folder: org.eclipse.core.runtime
folder: org.eclipse.equinox.app
folder: org.eclipse.osgi
config.ini

and there is a bunch of org.eclipse.equinox.launcher*.jar files in the plugin folder but I don't really know which of these is used by the AUT. (I can give you a list of them if you need it.)

Thank you for you time

Rhimo




  • Attachment: myaut.ini
    (Size: 0.08KB, Downloaded 128 times)
  • Attachment: config.ini
    (Size: 7.07KB, Downloaded 113 times)
  • Attachment: launchcmd.txt
    (Size: 0.54KB, Downloaded 185 times)
Re: Cannot launch AUT [message #1489382 is a reply to message #1488443] Thu, 27 November 2014 10:10 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for additional information.
List of launchers might be helpful too.
How project is built? Do you use Product Definition editor or Tycho Maven plugin?

Is it possible to install your application as plug-in into running Eclipse IDE?
We are pretty sure that Eclipse with pre-installed plug-in would launch fine from RCPTT and you will be able to try out RCPTT while we are investigating "standalone" problem.


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1490804 is a reply to message #1489382] Fri, 28 November 2014 13:04 Go to previous messageGo to next message
rhimo paulisson is currently offline rhimo paulissonFriend
Messages: 5
Registered: November 2014
Junior Member
Hello,

You'll find the list of equinox.launcher jars in attachment.
I think the project uses Product Definition editor.

I've managed to launch the app with RCPTT using Eclipse as AUT and passing it the right arguments.
The problem now is that RCPTT's launching progress information window remains open while my app is running (operation in progress) which makes RCPTT unresponsive as this is a modal window. All I can do is 'cancel' which stops my app of course.

I guess it's waiting for something to complete the launching process but never gets it.
I don't see anything special in the log.

thanks

Re: Cannot launch AUT [message #1494409 is a reply to message #1490804] Mon, 01 December 2014 12:54 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

That's good news, that you've managed to start AUT with RCPTT.
RCPTT tries to launch AUT as it would be launched by eclipse.exe without arguments. You've mentioned that you pass eclipse right arguments. Could you please try to put any required arguments to aut.ini to provide both easy user launch and out-of-the-box RCPTT compatibility. Please, try and let me know if you succeed to launch AUT from RCPTT this way.

As your AUT is starting, there are several files, which might be helpful for diagnostics. Could you please send us the following files:

1. RCPTT-generated config files: <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/config.ini
2. Generated bundles.info: <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/org.eclipse.equinox.simpleconfigurator/bundles.info (if present)
3. Generated .launch file: <rcptt-workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/<your aut name>.launch

Also, could you please attach new console log of RCPTT and AUT log (how to get it)


Thanks in advance,
Olga


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1576712 is a reply to message #1494409] Wed, 21 January 2015 13:27 Go to previous messageGo to next message
rhimo paulisson is currently offline rhimo paulissonFriend
Messages: 5
Registered: November 2014
Junior Member
Hi,

Here are the files.

Thank you
  • Attachment: config.ini
    (Size: 1.31KB, Downloaded 125 times)
  • Attachment: console.log
    (Size: 1.14MB, Downloaded 120 times)
  • Attachment: bundles.info
    (Size: 86.23KB, Downloaded 111 times)
  • Attachment: .log
    (Size: 65.78KB, Downloaded 119 times)
  • Attachment: myAUT.launch
    (Size: 2.59KB, Downloaded 184 times)
Re: Cannot launch AUT [message #1587260 is a reply to message #1576712] Tue, 27 January 2015 08:30 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for additional details.
It will take us sometime to investigate it.
I'll notify you about our progress.


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1587786 is a reply to message #1576712] Tue, 27 January 2015 15:05 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for finding this issue!
Could you please send us your product file for investigation?
Apparently application requires having several plugins, which have to be started.
You can add these plugins into your product configuration file with autoStart="true" as it is outlined in this article.

Please try and let me know if it is suitable for you.


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1589482 is a reply to message #1587786] Wed, 28 January 2015 13:24 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

We are continuing to investigate this issue.
RCPTT fails to detect a proper product now.
Could you please send me actual files to ensure:
Original <your AUT>.ini
<your AUT>/configuration/config.ini

Also we found, that cycles are detected in plugin dependencies.
In order to investigate it could you please run your application without rcptt and send us original log files:
<your AUT workspace>/.metadata/.log
Run app from cmd this way: eclipsec.exe -consoleLog > console.log (if eclipses.exe existis near <your AUT>.exe) and send generated console.log


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1603997 is a reply to message #1589482] Fri, 06 February 2015 15:06 Go to previous messageGo to next message
rhimo paulisson is currently offline rhimo paulissonFriend
Messages: 5
Registered: November 2014
Junior Member
Hi,

Here are the files.

Thank you for your time.
  • Attachment: config.ini
    (Size: 7.07KB, Downloaded 136 times)
  • Attachment: myAUT.ini
    (Size: 0.08KB, Downloaded 106 times)
  • Attachment: myAUT.log
    (Size: 562.57KB, Downloaded 127 times)
  • Attachment: myAUT.product
    (Size: 23.36KB, Downloaded 230 times)
Re: Cannot launch AUT [message #1634596 is a reply to message #1603997] Wed, 25 February 2015 10:51 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for additional details!
We've found that product file contains no plugins:
org.eclipse.equinox.ds
org.eclipse.equinox.event
And no start level for
org.eclipse.core.runtime
Could you please add these plugins into your product configuration file with autoStart="true" as it is outlined in this article.

Please try and let me know if you have any questions.


Yours sincerely,
Olga.
Re: Cannot launch AUT [message #1698373 is a reply to message #1634596] Mon, 15 June 2015 07:55 Go to previous message
Connor Hitt is currently offline Connor HittFriend
Messages: 7
Registered: June 2015
Junior Member
Hey, I don't know if the original poster had his issue resolved or not, but would you happen to have any other suggestions for someone having this issue?

I have been having this exact same problem and have tried countless suggestions. I checked my product file and I did have auto start for those three plugins, but the level was not the same as the link you provided so I updated that but the issue didn't go away.
Previous Topic:how to use testcase with different context
Next Topic:[SOLVED] Downloading 'Test Runner' fails. File unavailable.
Goto Forum:
  


Current Time: Fri Apr 26 13:32:00 GMT 2024

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

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

Back to the top