Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Problem with testexec and autrun not reproductible in ITE
Problem with testexec and autrun not reproductible in ITE [message #1052552] Tue, 30 April 2013 08:21 Go to next message
Marie Musslin is currently offline Marie MusslinFriend
Messages: 3
Registered: May 2012
Junior Member
We have an issue when running testexec with an already launched autagent.
We cannot reproduce the problem when using the ITE.

The problem comes when executing the "Export product" wizard from eclipse.
We have a "wait" command that should wait the end of the execution.
But it breaks at the start of the execution and we have as log :

2013-04-29 17:38:26.540 [Connection.ReaderThread:Socket[addr= /172.17.2.99,port=53946,localport=53947]] WARN o.e.j.r.c.c.AbstractCapTestCommand - An error occured:
org.eclipse.jubula.rc.common.exception.ComponentNotFoundException: unmanaged component with identifier: 'org.eclipse.jubula.tools.objects.ComponentIdentifier@22c09510[component type=org.eclipse.swt.GraphicApplication,alternative name=<null>,hierarchy=[Application]]'.
at org.eclipse.jubula.rc.swt.listener.ComponentHandler.findComponent(ComponentHandler.java:195) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.commands.CAPTestCommand.findComponent(CAPTestCommand.java:43) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.getImplClass(AbstractCapTestCommand.java:130) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.execute(AbstractCapTestCommand.java:225) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:845) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]


Just as if there was a new AUT that wasn't recognized.
We tried to launch it through jubula with a "-l" autagent but it didn't detect anything.

The error is :
Error Type : Component Not Found Error
Which is kind of puzzling on a "wait" command.

Regards,
Re: Problem with testexec and autrun not reproductible in ITE [message #1053502 is a reply to message #1052552] Mon, 06 May 2013 10:33 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

That is indeed puzzling. Can you post the test result report (HTML) so we can see what context it occurs in?

Thanks!
Alex
Re: Problem with testexec and autrun not reproductible in ITE [message #1053701 is a reply to message #1053502] Tue, 07 May 2013 10:05 Go to previous messageGo to next message
Marie Musslin is currently offline Marie MusslinFriend
Messages: 3
Registered: May 2012
Junior Member

We have a generate product feature who's running an eclipse job who itself run the product export standard eclipse job.
We're wondering if the error comes from there, so we are testing if it is the case by having only one job running at a time.
After launching this feature, we periodically check the progress view to check if it is finished.
This is handled by an event handler with a wait command.
As you can see, in the middle of the wait we have a "Component not found" error.
Note that we had the same problem even without the event handler and with just a wait command with a long time so the problem really is from the "export product" feature. It worked as a charm when we removed the launching of this job.

Regards,


index.php/fa/14674/0/
Re: Problem with testexec and autrun not reproductible in ITE [message #1053747 is a reply to message #1053701] Tue, 07 May 2013 13:28 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for the further information. I have a (perhaps silly) question - does your AUT restart during the export?
Re: Problem with testexec and autrun not reproductible in ITE [message #1053774 is a reply to message #1053747] Tue, 07 May 2013 14:34 Go to previous messageGo to next message
Marie Musslin is currently offline Marie MusslinFriend
Messages: 3
Registered: May 2012
Junior Member
The aut is not restarted but I know the product export feature (from PDE) launches ANT and I think it does some fancy things with the class loader, could it be the reason of the problem ?
Re: Problem with testexec and autrun not reproductible in ITE [message #1058517 is a reply to message #1053774] Tue, 14 May 2013 11:47 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Losing the Application component might happen if something interrupts the RC processing for a long time (>10 sec) during startup. We already have added some code (available with Kepler) to handle this situation better (descriptive error message).

Doing "something fancy" with class loading might have some consequences, too. But without debugging the scenario I have no idea where to look.

- Achim
Previous Topic:Running UI and non-UI tests
Next Topic:Left shortcuts after uninstalling the plugin
Goto Forum:
  


Current Time: Mon Oct 14 02:14:16 GMT 2024

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

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

Back to the top