Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » An error ocurred: Could not connect to AUT: AppName
An error ocurred: Could not connect to AUT: AppName [message #1344615] Fri, 09 May 2014 21:24 Go to next message
Ram Kudaravalli is currently offline Ram KudaravalliFriend
Messages: 3
Registered: April 2014
Junior Member
I am trying to use test execution to run test suite for a Swing app using config file.
Steps:
1. \jubula>autagent.exe -p 60000
2. \jubula>testexec.exe -c "configfileName.xml"


I am receiving the following errors:
Can someone help to resolve these errors?

Client.log
============
2014-05-09 15:31:03.504 [main] ERROR o.e.j.t.c.x.b.ComponentBuilder - Could not create ToolkitProvider of Toolkit-Plugin!
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.jubula.examples.extension.swing.toolkit was unable to load class org.eclipse.jubula.examples.extension.swing.toolkit.provider.MyToolkitProvider.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.initCompSystem(ComponentBuilder.java:79) [org.eclipse.jubula.toolkit.common_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.getCompSystem(ComponentBuilder.java:191) [org.eclipse.jubula.toolkit.common_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.client.core.ClientTest.<init>(ClientTest.java:196) [org.eclipse.jubula.client.core_2.2.0.201310100933.jar:na]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_45]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_45]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_45]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_45]
at java.lang.Class.newInstance0(Class.java:357) [na:1.6.0_45]
at java.lang.Class.newInstance(Class.java:310) [na:1.6.0_45]
at org.eclipse.jubula.client.core.ClientTestFactory.getClientTest(ClientTestFactory.java:44) [org.eclipse.jubula.client.core_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.app.testexec.batch.ExecutionController.<init>(ExecutionController.java:327) [org.eclipse.jubula.app.testexec_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.app.testexec.batch.ExecutionController.getInstance(ExecutionController.java:341) [org.eclipse.jubula.app.testexec_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.app.testexec.TestexecClient.preRun(TestexecClient.java:62) [org.eclipse.jubula.app.testexec_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.client.cmd.AbstractCmdlineClient.run(AbstractCmdlineClient.java:401) [org.eclipse.jubula.client.cmd_2.2.0.201310100933.jar:na]
at org.eclipse.jubula.client.cmd.AbstractLauncher.start(AbstractLauncher.java:26) [org.eclipse.jubula.client.cmd_2.2.0.201310100933.jar:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) [org.eclipse.equinox.app_1.3.100.v20120522-1841.jar:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
at org.eclipse.equinox.launcher.Main.run(Main.java:1438) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
at org.eclipse.equinox.launcher.Main.main(Main.java:1414) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45]
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) [i4jruntime.jar:na]
at com.exe4j.runtime.WinLauncher.main(Unknown Source) [i4jruntime.jar:na]
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source) [i4jruntime.jar:na]
Caused by: java.lang.ClassNotFoundException: org.eclipse.jubula.examples.extension.swing.toolkit.provider.MyToolkitProvider
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[na:1.6.0_45]
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212) ~[org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) ~[org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar:na]
... 38 common frames omitted
2014-05-09 15:31:20.094 [Worker-0] ERROR o.e.j.c.c.c.AUTConnection - Connection to AUT could not be established.
2014-05-09 15:31:20.104 [Worker-0] ERROR o.e.j.c.cmd.AbstractCmdlineClient - An error ocurred: Could not connect to AUT: GRO_Test

aut_agent.log
==============
2014-05-09 16:08:29.590 [Connection.ReaderThread:Socket[addr=/127.0.0.1,port=62099,localport=60000]] ERROR o.e.jubula.autagent.agent.AutAgent - Could not send connect message to AUT. The associated communicator is null.
Re: An error ocurred: Could not connect to AUT: AppName [message #1349307 is a reply to message #1344615] Mon, 12 May 2014 06:23 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

- could you post the config file you are using?
- can you start the same test (AUT, test suite) via the ITE?

Best regards,
Alex
Previous Topic:Toolbar button in Properties view not found during test
Next Topic:Problem with Jubula8 and MySQL
Goto Forum:
  


Current Time: Sat Apr 27 05:23:20 GMT 2024

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

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

Back to the top