AUT Agent does not get started [message #1755127] |
Tue, 28 February 2017 04:47  |
Eclipse User |
|
|
|
Hi,
I am using jubula_8.4.0.111 on Windows 7 test system, to automate rcp ui (Jave installed: JRE8_64bit, jdk1.8.0).
Everything was working fine some two weeks back, however sometime last week, AUT Agent got impacted and now does not start (it is not listed in the system tray) and connecting to the AUT Agent from Jubula ite displays following error message:
Information - 124: Could not connect to AUT Agent at localhost:60000.
The connection to the AUT Agent could not be made.
Please check that you have started the AUT Agent, and that your connection settings (hostname, port number) are correct.
No error is getting captured when initiating autagent.exe using any of the parameters from Windows command prompt.
Please help urgently!
Sucheta
|
|
|
|
Re: AUT Agent does not get started [message #1755325 is a reply to message #1755296] |
Thu, 02 March 2017 05:59   |
Eclipse User |
|
|
|
Background: I had a working setup, however I uninstalled Jubula from Control Panel UI and installed the same version again, after which I started facing this issue.
Running AUTAgent on other ports is also not working.
Attaching excerpts from the logs below.
<User directory>\.jubula\configAreas\autagent\8.4.0.111\1488186336643.log:
!ENTRY org.eclipse.core.resources 2 0 2017-02-27 14:35:37.235
!MESSAGE Could not resolve module: org.eclipse.core.resources [387]
Another singleton bundle selected: osgi.identity; type="osgi.bundle"; version:Version="3.11.0.v20160503-1608"; osgi.identity="org.eclipse.core.resources"; singleton:="true"
!ENTRY org.eclipse.mylyn.context.ui 2 0 2017-02-27 14:35:37.235
!MESSAGE Could not resolve module: org.eclipse.mylyn.context.ui [414]
Another singleton bundle selected: osgi.identity; type="osgi.bundle"; version:Version="3.20.0.v20160421-1902"; osgi.identity="org.eclipse.mylyn.context.ui"; singleton:="true"
!ENTRY org.eclipse.osgi 4 0 2017-02-27 14:35:37.236
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.jubula.app.autagent" could not be found in the registry. The applications available are: com.bredexsw.guidancer.app.launcher, org.eclipse.birt.report.engine.ReportExecutor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jubula.app.dbtool, org.eclipse.jubula.app.launcher, org.eclipse.ui.ide.workbench.
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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
<User directory>\.jubula\logs\rc_rcp.log:
2017-02-17 16:03:53.301 [Connection.ReaderThread:Socket[addr=PNI6P1855.net.plm.eds.com/146.122.167.161,port=50533,localport=51215]] ERROR o.e.j.r.c.c.InitTestExecutionCommand - error in activation of the AUT
org.eclipse.jubula.rc.common.exception.RobotException: Window activation failed.
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.activateApplication(RobotSwtImpl.java:1117) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.common.commands.InitTestExecutionCommand.execute(InitTestExecutionCommand.java:43) ~[org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.received(Communicator.java:920) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]
2017-02-17 16:14:25.335 [Connection.ReaderThread:Socket[addr=PNI6P1855.net.plm.eds.com/146.122.167.161,port=50533,localport=51322]] ERROR o.e.j.rc.swt.driver.RobotSwtImpl - Robot exception occurred while clicking...
Component: Tree {}
Bounds: Rectangle {355, 173, 509, 780}
Mouse position: Point {400, 194}
org.eclipse.jubula.rc.common.exception.RobotException: Timeout received before confirming the posted event: 3
at org.eclipse.jubula.rc.swt.driver.RobotEventConfirmerSwtImpl.waitToConfirm(RobotEventConfirmerSwtImpl.java:353) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotEventConfirmerSwtImpl.waitToConfirm(RobotEventConfirmerSwtImpl.java:428) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.clickImpl(RobotSwtImpl.java:1580) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.clickImpl(RobotSwtImpl.java:400) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.clickImpl(RobotSwtImpl.java:371) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.click(RobotSwtImpl.java:712) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.click(RobotSwtImpl.java:1) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.tester.tree.TreeOperationContext.clickNode(TreeOperationContext.java:268) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.swt.tester.tree.TreeOperationContext.clickNode(TreeOperationContext.java:1) [org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.common.implclasses.tree.SelectTreeNodeOperation.operate(SelectTreeNodeOperation.java:44) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.implclasses.tree.AbstractTreeNodeTraverser.callOperation(AbstractTreeNodeTraverser.java:63) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.implclasses.tree.PathBasedTraverser.traversePath(PathBasedTraverser.java:130) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.tester.AbstractTreeTester.traverseLastElementByPath(AbstractTreeTester.java:193) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.tester.AbstractTreeTester.selectByPath(AbstractTreeTester.java:213) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.tester.AbstractTreeTester.rcSelectByIndices(AbstractTreeTester.java:483) [org.eclipse.jubula.rc.common.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_92]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_92]
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:281) [org.apache.commons.beanutils.jar:na]
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:225) [org.apache.commons.beanutils.jar:na]
at org.eclipse.jubula.rc.common.commands.MethodInvoker.invoke(MethodInvoker.java:64) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.rc.common.commands.CapTestCommand.execute(CapTestCommand.java:322) [org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.received(Communicator.java:920) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]
2017-02-20 14:41:03.107 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/389/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-20 14:43:04.350 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/389/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-20 14:48:14.426 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/389/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-20 14:49:29.338 [Worker-3] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory C:/Users/kxvc9e/Teamcenter/RAC/20170127142826/org.eclipse.osgi/bundles/555/1/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-20 15:17:22.698 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/387/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-20 15:23:23.035 [Connection.ReaderThread:Socket[addr=PNI6P1855.net.plm.eds.com/146.122.94.89,port=56778,localport=56868]] ERROR o.e.j.r.c.c.InitTestExecutionCommand - error in activation of the AUT
org.eclipse.jubula.rc.common.exception.RobotException: Window activation failed.
at org.eclipse.jubula.rc.swt.driver.RobotSwtImpl.activateApplication(RobotSwtImpl.java:1117) ~[org.eclipse.jubula.rc.swt.jar:na]
at org.eclipse.jubula.rc.common.commands.InitTestExecutionCommand.execute(InitTestExecutionCommand.java:43) ~[org.eclipse.jubula.rc.common.jar:na]
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.received(Communicator.java:920) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]
2017-02-20 15:45:12.215 [Worker-5] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory C:/Users/kxvc9e/Teamcenter/RAC/20170127142826/org.eclipse.osgi/bundles/567/1/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-27 14:13:01.367 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/387/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-27 14:17:59.854 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/387/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-27 14:38:59.489 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/387/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-27 14:49:42.989 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/385/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-28 14:12:00.498 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory D:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/385/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
2017-02-28 14:33:36.419 [main] ERROR o.eclipse.jubula.rc.common.AUTServer - Could not load the external jars. The directory C:/Program Files/jubula_8.4.0.111/ite/configuration/org.eclipse.osgi/385/0/.cp/lib/org.eclipse.jubula.rc.common.jar does not exist
<User Directory>\.jubula\logs\aut_agent.log:
2017-02-20 16:38:43.939 [Connection.ReaderThread:Socket[addr=/146.122.167.161,port=57150,localport=57149]] ERROR o.eclipse.jubula.autagent.AutStarter - Error occurred while sending AUT Registration Message.
org.eclipse.jubula.tools.internal.exception.CommunicationException: io error occured during sending a message:Connection reset by peer: socket write error
at org.eclipse.jubula.communication.internal.Communicator.send(Communicator.java:492) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.autagent.AutStarter$1.propertyChange(AutStarter.java:142) ~[org.eclipse.jubula.autagent_5.0.0.201612131139.jar:na]
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) [na:1.8.0_66]
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:328) [na:1.8.0_66]
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) [na:1.8.0_66]
at org.eclipse.jubula.autagent.agent.AutAgent.removeAut(AutAgent.java:505) [org.eclipse.jubula.autagent_5.0.0.201612131139.jar:na]
at org.eclipse.jubula.autagent.agent.AutAgent.access$2(AutAgent.java:481) [org.eclipse.jubula.autagent_5.0.0.201612131139.jar:na]
at org.eclipse.jubula.autagent.agent.AutAgent$AutCommunicationErrorListener.shutDown(AutAgent.java:269) [org.eclipse.jubula.autagent_5.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.Communicator.fireShutDown(Communicator.java:740) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.Communicator.access$5(Communicator.java:733) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.Communicator$ErrorListener.shutDown(Communicator.java:962) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.fireShutDown(Connection.java:374) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.access$3(Connection.java:367) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.fireShutDownAndFinish(Connection.java:592) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.run(Connection.java:464) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
Caused by: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.8.0_66]
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) ~[na:1.8.0_66]
at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.8.0_66]
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) ~[na:1.8.0_66]
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) ~[na:1.8.0_66]
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) ~[na:1.8.0_66]
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) ~[na:1.8.0_66]
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) ~[na:1.8.0_66]
at java.io.BufferedWriter.flush(BufferedWriter.java:254) ~[na:1.8.0_66]
at org.eclipse.jubula.communication.internal.connection.Connection.send(Connection.java:322) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
at org.eclipse.jubula.communication.internal.Communicator.send(Communicator.java:483) [org.eclipse.jubula.communication_4.0.0.201612131139.jar:na]
... 14 common frames omitted
Attachment: aut_agent.log
(Size: 28.67KB, Downloaded 147 times)
Attachment: client.log
(Size: 91.50KB, Downloaded 167 times)
Attachment: rc_rcp.log
(Size: 35.36KB, Downloaded 144 times)
Attachment: 1488186336643.log
(Size: 76.29KB, Downloaded 124 times)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02964 seconds