eptalon333 - 2004-12-21

Hi

I get the following:

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)

The offending code in my script is problably:

FOR I = 1 TO qat.agent.count DO
        agent_test_params=" some parameters here"

    ###############################################################
        # check the agent count expected for that test
        ###############################################################
        CALLFUNCTION(CHECK_AGENT_COUNT, qat.agent.count, agent_index);

        ###############################################################
        # Set up the required agents
        ###############################################################
        #this_agent_tmp_dir = ("agent"+agent_index+"_tmp_dir");
        this_agent_tmp_dir = ("agent"+I+"_tmp_dir");
        #agent_id=""
        SETAGENT(agent_id, ("agent"+agent_index+".name"), ("agent"+agent_index+".port"), this_agent_tmp_dir);
        this_agent_id = agent_id

        ###############################################################
        # Launch the agent on agent agent_index
        ###############################################################
        CALLFUNCTION (STARTAGENT, agent_index, this_agent_id, perf_zip, agent_test_class, agent_test_params)
END