Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » RCP Jacoco(AUT does not start with Jacoco)
RCP Jacoco [message #1602239] Thu, 05 February 2015 12:08 Go to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
Hey Everyone,

I tried to run a simple Test on my RCP Application and it works pretty well, so I want to use JaCoCo.
Therefore I duplicate the AUT configurations, selected Jacoco, selected the src directory.

For the installation Directory I have tried the working Directory of the AUT and the Plugin directory.
I'm not sure which Directory I should select here for an RCP Application. (Working for the first time with RCP Applications and Jubula)

As I tried to run the AUT there is always the same Error:

Quote:
An error occurred.
Reason:
5009: AUT start failed

Details:
Establishing connection to AUT failed
Please check the AUT configuration.


Additional Information:
RCP Application uses Java 1.7
Selected Installation Directory is the "eclipse" Folder.
Jubula Version 1.8.0

Thanks,
Chris

[Updated on: Wed, 11 February 2015 11:46]

Report message to a moderator

Re: RCP Jacoco [message #1602282 is a reply to message #1602239] Thu, 05 February 2015 12:49 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

What Java version are you using to start the AUT? If it's running with Java 8, this could be the reason - we haven't updated the JaCoCo yet to support Java 8.

Otherwise, the documentation for what directories to use is here:
http://help.eclipse.org/luna/topic/org.eclipse.jubula.client.ua.help/html/manual/node295.html?cp=36_2_26_0

Hope that helps!
Alex
Re: RCP Jacoco [message #1603488 is a reply to message #1602282] Fri, 06 February 2015 07:28 Go to previous messageGo to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
Hey,
I'm using Java 1.7 to run my RCP Application.
I have read the Documentation. I'm pretty sure the PlugIn Directory is the right one to choose for the installation dir.

Any other ideas?

Thanks,
Chris
Re: RCP Jacoco [message #1603928 is a reply to message #1603488] Fri, 06 February 2015 14:09 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

I just did a test and it's not the plugins directory - in my example it was the directory above the plugins. If you were starting Eclipse, then you'd use the "eclipse" folder.

Hope that helps,
Alex
Re: RCP Jacoco [message #1609637 is a reply to message #1603928] Tue, 10 February 2015 08:36 Go to previous messageGo to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
I've tried that too, but still the same Error.
I've read the Source Directory and the Package pattern are not necessary. So I' haven't set them. Does that caused some troubles?
Re: RCP Jacoco [message #1610522 is a reply to message #1609637] Tue, 10 February 2015 21:24 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

no, those things shouldn't be causing the problem. Do you have a working directory set that uses a relative path? That could be the reason.

Otherwise: can you try starting another RCP application to see if you can get it started?

Failing that, if you can send a screenshot of the full AUT Configuration dialog, or your project xml, then I'll take a look.

Best regards,
Alex
Re: RCP Jacoco [message #1611205 is a reply to message #1610522] Wed, 11 February 2015 08:07 Go to previous messageGo to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
Hey,
no my Path are all absolute.
I've tried to run the Mail Template (Example of Eclipse for RCP Applications). Same Problem with Code Coverage.
Btw. by trying to Object Map using Eclipse as an AUT Eclipse crashes.

My AUT Conf : PARADISE is the Application Name.
index.php/fa/20798/0/
Also tried with Empty package pattern and my Workspace as Source Directory


Thanks,
Chris
  • Attachment: AUT-conf.png
    (Size: 64.13KB, Downloaded 463 times)

[Updated on: Wed, 11 February 2015 08:17]

Report message to a moderator

Re: RCP Jacoco [message #1611271 is a reply to message #1611205] Wed, 11 February 2015 08:59 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for the config dialog. Can you add the following information for me:
- The exact paths you are using in the installation directory and for the executable file name (I can't see the end of them)
- check in the AUT Agent log for any entry at the time when you try to start the AUT and add the information here
- just to be 100% sure - when you try to start the AUT without JaCoCo, (just deselect the JaCoCo from the AUT configuration dialog), it works fine, right?
- can you remind me what version of Jubula you are using?

Thanks!
Alex
Re: RCP Jacoco [message #1611480 is a reply to message #1611271] Wed, 11 February 2015 11:45 Go to previous messageGo to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
Paths:
Installation directory: C:\Users\cars_ch\Desktop\Paradise
Executable file name: C:\Users\cars_ch\Desktop\Paradise\PARADISE.exe

AUT Agent Log:Quote:

2015-02-11 12:39:40.565 [Connection.ReaderThread:Socket[addr=localhost/127.0.0.1,port=60001,localport=53054]] ERROR o.e.j.c.i.c.StartAUTServerStateCommand - AUTServer could not start: invalid arguments


Without JaCoCo it's working fine, I've already run some Tests on that.

Jubula Version: 8.1.0

Thanks,
Chris
Re: RCP Jacoco [message #1613363 is a reply to message #1611480] Thu, 12 February 2015 15:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Chris,

Thanks for the extra info. I'm unsure what the problem could be at the moment. One thing does confuse me about the AUT configuration dialog that could be a reason. Can you:

1. Use ctrl+x on the executable file field to remove the path
2. Remove the ../jre/bin/java.exe from the JRE executable field
3. Re-paste the executable file into the executable file field
4. Click all the OKs and then try again?

This shouldn't make a difference, but it's worth a try. If that doesn't help then I'll forward this on to see who else can provide input.

Best regards,
Alex
Re: RCP Jacoco [message #1614333 is a reply to message #1613363] Fri, 13 February 2015 07:05 Go to previous messageGo to next message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
Hey Alex,
Well it doesn't change anything :/
Also, I tried to set the path to the jre of the Project, still make no changes :/

But still Thanks a lot for your support so far.

Best regards
Chris
Re: RCP Jacoco [message #1615004 is a reply to message #1614333] Fri, 13 February 2015 16:41 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for trying. I'll check it out with the team at the beginning of next week.

Best regards,
Alex
Re: RCP Jacoco [message #1615011 is a reply to message #1614333] Fri, 13 February 2015 16:48 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for trying. I'll check it out with the team at the beginning of next week.

Best regards,
Alex
Re: RCP Jacoco [message #1619406 is a reply to message #1615011] Mon, 16 February 2015 15:01 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Chris,

It would help us further if you could try to start your AUT with JaCoCo running (we use version 0.6.3), without Jubula. If your AUT starts when you've attached the JaCoCo agent, then we need to figure out where the difference it. If not, then at least that gives the avenue to look at.

Best regards,
Alex
Re: RCP Jacoco [message #1620483 is a reply to message #1619406] Tue, 17 February 2015 08:05 Go to previous message
Chris Carstensen is currently offline Chris CarstensenFriend
Messages: 9
Registered: February 2015
Junior Member
AUT is running with the JaCoCo Agent see in Picture:

index.php/fa/20880/0/
Also you see the RCP Plug-Ins

Thanks,
  • Attachment: Jacoco.png
    (Size: 59.66KB, Downloaded 419 times)

[Updated on: Tue, 17 February 2015 09:29]

Report message to a moderator

Previous Topic:Using SVN or GIT
Next Topic:Cannot see unbound modules on fresh install
Goto Forum:
  


Current Time: Wed Feb 21 12:18:46 GMT 2024

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

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

Back to the top