Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Jubula 8.3 Standalone(AUTagent.exe does not start and monitoring agent throws an exception)
Jubula 8.3 Standalone [message #1740286] Thu, 11 August 2016 08:42 Go to next message
Fatih Tekin is currently offline Fatih TekinFriend
Messages: 3
Registered: July 2016
Junior Member
Hi,

I tried out the new version 8.3 (jubula_8.3.0.122) of Jubula standalone on a Windows 8.1 64 Bit machine. The AUTagent.exe (not the embedded one) does not start (no error mesage occur, no icon appears in task bar). With the embedded AUTagent I can execute tests.

If the montoring agent is switched on (JaCoCo) an execption is thrown at the end of the test execution of a test suite for example (see below). With Jubula standalone 8.2 I had no problem with the monitoring agent.

java.io.IOException: Error while analyzing class C:\Program Files\CX-PRIME\lib\javax.transaction-api-1.2.jar@javax/transaction/HeuristicCommitException.class.
at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:150) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:144) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:175) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeZip(Analyzer.java:246) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:208) ~[na:na]
at com.bredexsw.guidancer.autagent.monitoring.jacoco.MonitoringImpl.getMonitoringData(MonitoringImpl.java:148) ~[na:na]
at org.eclipse.jubula.autagent.monitoring.GetMonitoringDataCommand.execute(GetMonitoringDataCommand.java:54) [org.eclipse.jubula.autagent_4.0.0.201607281404.jar:na]
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.received(Communicator.java:920) [org.eclipse.jubula.communication_4.0.0.201607281404.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication_4.0.0.201607281404.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Connection.java:391) [org.eclipse.jubula.communication_4.0.0.201607281404.jar:na]
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication_4.0.0.201607281404.jar:na]
Caused by: java.lang.IllegalStateException: CODE-COVERAGE: different class with same name found: javax/transaction/HeuristicCommitException
at com.bredexsw.guidancer.autagent.monitoring.jacoco.CoverageBuilder.addCoverage(CoverageBuilder.java:157) ~[na:na]
at com.bredexsw.guidancer.autagent.monitoring.jacoco.CoverageBuilder.visitCoverage(CoverageBuilder.java:139) ~[na:na]
at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:92) ~[na:na]
at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) ~[na:na]
at org.jacoco.core.internal.flow.ClassProbesAdapter.visitEnd(ClassProbesAdapter.java:98) ~[na:na]
at org.objectweb.asm.ClassReader.accept(Unknown Source) ~[na:na]
at org.objectweb.asm.ClassReader.accept(Unknown Source) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:107) ~[na:na]
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142) ~[na:na]
... 10 common frames omitted
Re: Jubula 8.3 Standalone [message #1740615 is a reply to message #1740286] Tue, 16 August 2016 09:15 Go to previous message
Kevin Barbe is currently offline Kevin BarbeFriend
Messages: 64
Registered: July 2016
Member
Hello Fatih,

the problem with not being able to start the autagent.exe is a user permissions problem on Windows. You most likely installed Jubula with administrator rights into a C:\Program Files\ subfolder. Now the problem with that is, that the autagent.exe wants to create some local configuration files during execution but is not being able to do so when starting the autagent.exe without the necessary (administrator) rights. The autagent.exe should however start and run perfectly fine when starting with administrator rights or if you install Jubula into a different folder that does not require administrator rights.

Unfortunately I were not able to reproduce your JaCoCo problem. Could you please try to run Jubula with administrator rights. From the error log it seems that JaCoCo tries to access a file that also is located in a C:\Program Files\ subfolder and it might not have the necessary rights to do so.

Best regards,
Kevin
Previous Topic:About parameter in Test case's properties
Next Topic:RCP AUT - Unable to Map Objects
Goto Forum:
  


Current Time: Tue Nov 13 16:22:55 GMT 2018

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

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

Back to the top