Community
Participate
Working Groups
You can no longer generate a URLTest. The following exception is displayed: IWAT3022E cannot load node handler org.eclipse.hyades.test.tools.core.TRCAnnotationNodeHandler: org.eclipse.hyades.test.tools.core.TRCAnnotationNodeHandler org.eclipse.hyades.test.core.testgen.TestgenException: IWAT3022E cannot load node handler org.eclipse.hyades.test.tools.core.TRCAnnotationNodeHandler at org.eclipse.hyades.execution.testgen.http.TRCNodeDispatcher.newNodeHandler(TRCNodeDispatcher.java:150) at org.eclipse.hyades.execution.testgen.http.TRCNodeDispatcher.registerHandlersFromProperties(TRCNodeDispatcher.java:125) at org.eclipse.hyades.execution.testgen.http.TRCNodeDispatcher.<init>(TRCNodeDispatcher.java:77) at org.eclipse.hyades.execution.testgen.http.TRCFileLoader.load(TRCFileLoader.java:87) at org.eclipse.hyades.execution.testgen.http.Testgen.runTestGen(Testgen.java:75) at org.eclipse.hyades.test.core.testgen.TestGenerator.runTestGen(TestGenerator.java:58) at org.eclipse.hyades.test.ui.testgen.util.TestgenUtil$1.run(TestgenUtil.java:62) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
TestGen has not been modified since June of 2005. The following call has worked in all previous releases but no longer finds the class it is looking for and throws an exception: Class.forName(org.eclipse.hyades.test.tools.core.TRCAnnotationNodeHandler)
Set Target Milestone to 4.4 i1.
The previous information about Class.forName() doesn't seem to be the real problem since that class didn't exist in 4.3 but TestGen still worked. It is possible something has changed with the properties files that is causing this problem. Further investigation is required.
Someone had removed items from the properties file that caused Test Gen to fail. I placed those items back. It was indeed related to the Class.forName() described earlier.
P1 since included in 4.4.
(In reply to comment #4) > Someone had removed items from the properties file that caused Test Gen to > fail. I placed those items back. > It was indeed related to the Class.forName() described earlier. Mark, what properties did you replace. They properties were removed under defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=127277 (see Comment #14 and Comment #15).
The following 3 lines were added back to org.eclipse.hyades.test.tools.core/plugin.properties TRCAnnotationNodeHandler=org.eclipse.hyades.execution.testgen.http.TRCNodeHandler TRCConnectionNodeHandler=org.eclipse.hyades.execution.testgen.http.TRCNodeHandler TRCExecutorInfoNodeHandler=org.eclipse.hyades.execution.testgen.http.TRCNodeHandler
I just verified that this works with TPTP build from 20070219_0100.