This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

license acquisition error when opennng a ness CCS session!!



Hi,

        When I am using the following code to lauch a new ccssession,  an internal error prompts. Is there anything wrong?

         ScriptingEnvironment env = ScriptingEnvironment.instance();
       
        CCSServer debugServer = null;
     CCSSession debugSession = null;
    
    try     
    {
         // Get the Debug Server and start a Debug Session
         debugServer = (CCSServer) env.getServer("CCSServer.1");
      //debugServer = (DebugServer) env.getServer("CCSServer.1");
         //debugServer.setConfig("C:/Program Files/Texas Instruments/ccsv4/scripting/examples/C64/tisim_c64xple.ccxml");
         //debugServer.setConfig("../scripting/examples/C64/tisim_c64xple.ccxml");
         //ebugSession = (CCSSession) debugServer.openSession("New_configuration");
         debugSession = (CCSSession) debugServer.openSession(".*");
                // Load a program
         //debugSession.memory.loadProgram("C:/Program Files/Texas Instruments/ccsv4/scripting/examples/C64/modem/Debug/modem.out");
    }
         catch (Exception e)
    {
         System.out.print(""+e+" Exception catched!!");
    }

CCSSession debugSession =