sorry, I dont have the time to test your fix. I am busy running some tests.
However, I run into problems weith exceptions, both with versions 2.7.0 and 2.7.2 of the test suite.
When trying to run a test with QAT I get the following:
java.lang.ClassNotFoundException: qat.qashparser.QASHTestFinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at qat.parser.GenericTestFinder.<init>(GenericTestFinder.java:33)
at qat.gui.TestRunner.run(TestRunner.java:67)
java.lang.ClassNotFoundException: qat.qaxmlparser.QAXMLTestFinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at qat.parser.GenericTestFinder.<init>(GenericTestFinder.java:33)
at qat.gui.TestRunner.run(TestRunner.java:67)
No test finder registered for /tmp/MobileTests/mobile-test-performance/qat/perf/qat/PubSubPublisherApp-async.qash
Any ideas?
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have an incorrect setting in your project properties for some reason.
Edit the project properties->project settings, and change the "user defined classes" to use :
The following occurred with the 2.7.2. version, when trying to parse one of the tests:
java.lang.NullPointerException
at qat.parser.qashparser.QASHParser.processCMDGETTRACE(QASHParser.java:1642)
at qat.parser.qashparser.QASHParser.internalParseFile(QASHParser.java:354)
at qat.parser.qashparser.QASHParser.parseFile(QASHParser.java:294)
at qat.gui.TestSpecification.parseTest(TestSpecification.java:140)
at qat.gui.TestSpecification.runTest(TestSpecification.java:177)
at qat.gui.TestRunner.run(TestRunner.java:92)
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems to be just a bug in your QASH script, trying to check the trace of a process which has never been started.
Check the parser traces, and verify you actually see a call to CMDSTART prior to the CMDTGETTRACE call.
Also, make sure you have the examples etc all updated from the 2.7.2 delivery, your previous error indicates there might be some mismatch of versions.
If you use the 2.7.2 delivery, it should work out the box, if it doesn't it's probably an idea to clear out the .qat dir in your home directory. Carefully - this will delete all project settings etc as well, so only do it as a last resort.
wh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello again,
sorry, I dont have the time to test your fix. I am busy running some tests.
However, I run into problems weith exceptions, both with versions 2.7.0 and 2.7.2 of the test suite.
When trying to run a test with QAT I get the following:
java.lang.ClassNotFoundException: qat.qashparser.QASHTestFinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at qat.parser.GenericTestFinder.<init>(GenericTestFinder.java:33)
at qat.gui.TestRunner.run(TestRunner.java:67)
java.lang.ClassNotFoundException: qat.qaxmlparser.QAXMLTestFinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at qat.parser.GenericTestFinder.<init>(GenericTestFinder.java:33)
at qat.gui.TestRunner.run(TestRunner.java:67)
No test finder registered for /tmp/MobileTests/mobile-test-performance/qat/perf/qat/PubSubPublisherApp-async.qash
Any ideas?
Robert
You have an incorrect setting in your project properties for some reason.
Edit the project properties->project settings, and change the "user defined classes" to use :
qat.parser.qashparser.QASHParser
qat.parser.qashparser.QASHTestFinder
wh.
Thanks for the speedy reply.
The following occurred with the 2.7.2. version, when trying to parse one of the tests:
java.lang.NullPointerException
at qat.parser.qashparser.QASHParser.processCMDGETTRACE(QASHParser.java:1642)
at qat.parser.qashparser.QASHParser.internalParseFile(QASHParser.java:354)
at qat.parser.qashparser.QASHParser.parseFile(QASHParser.java:294)
at qat.gui.TestSpecification.parseTest(TestSpecification.java:140)
at qat.gui.TestSpecification.runTest(TestSpecification.java:177)
at qat.gui.TestRunner.run(TestRunner.java:92)
Robert
Seems to be just a bug in your QASH script, trying to check the trace of a process which has never been started.
Check the parser traces, and verify you actually see a call to CMDSTART prior to the CMDTGETTRACE call.
Also, make sure you have the examples etc all updated from the 2.7.2 delivery, your previous error indicates there might be some mismatch of versions.
If you use the 2.7.2 delivery, it should work out the box, if it doesn't it's probably an idea to clear out the .qat dir in your home directory. Carefully - this will delete all project settings etc as well, so only do it as a last resort.
wh