testexec on Linux: NullpointerExecption while starting AUT [message #1743251] |
Tue, 13 September 2016 10:42  |
Eclipse User |
|
|
|
I try to start an JavaFx application via testexec from Xubuntu on a VirtualBox Host.
First I've started the autagent on port 60001
Then the test:
./testexec -project V9_Tests -version 1.0 -testsuite V9_Tests -server localhost -port 60001 -autconfig aut_v9client@localhost -resultdir "/home/danny/jubula_8.3.0.122/examples/testresults" -dbscheme "Default Embedded (H2)" -dbuser sa -dbpw ""
9/13/16 11:01:40 AM - AUT Agent: Connecting to "localhost:60001" ...
9/13/16 11:01:40 AM - AUT Agent: connection established.
9/13/16 11:01:41 AM - Database: Connecting as "sa" to "jdbc:h2:~/.jubula/database/embedded;MVCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE"...
9/13/16 11:01:45 AM - Database: Connection established.
9/13/16 11:01:45 AM - Database: Loading project "V9_Tests" in version "1.0"...
9/13/16 11:01:46 AM - Database: Project loading completed.
9/13/16 11:01:46 AM - Project: Checking completeness
9/13/16 11:01:46 AM - Checking completeness of Test Suite "V9_Tests"...
9/13/16 11:01:46 AM - ... passed.
9/13/16 11:01:46 AM - AUT: Starting AUT: "aut_v9client" via configuration "aut_v9client@localhost"...
!!Error occurred !!
the communication between client and aut server could not established - AUTServer could not start: Unknown AUTServer exit code: 31.
Picked up _JAVA_OPTIONS: "-javaagent:/home/danny/jubula_8.3.0.122/ite/plugins/org.eclipse.jubula.rc.common.agent_4.0.0.201607281404.jar"
java.lang.reflect.InvocationTargetException
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:498)
at org.eclipse.jubula.rc.common.AutServerLauncher.main(AutServerLauncher.java:96)
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:498)
at org.eclipse.jubula.rc.common.agent.RCAgent.premain(RCAgent.java:103)
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:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.NullPointerException
at org.eclipse.jubula.rc.common.AUTServer.sendExitReason(AUTServer.java:702)
at org.eclipse.jubula.rc.common.AUTServer.start(AUTServer.java:402)
at org.eclipse.jubula.rc.common.AUTServer.main(AUTServer.java:308)
... 16 more
What can be the reason ?
Any ideas?
The application can be started manually without the autagent on that system.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03032 seconds