3 Replies Latest reply on Feb 29, 2016 8:52 PM by aviR

    javascript error

    aviR Level 1

      function Get_Tbl_Element(){

           this.name = "ProcessTable";

          this.xpath = "//entry";

           this.apply = function(myElement,myRuleProcessor)

           {

                 __processChildren(myRuleProcessor);

                app.select(myElement);

                 if(myElement.insertionPoints[0].parent.constructor.name=="Cell")

                 {

                      var idCell=myElement.insertionPoints[0].parent;

                     Process_Cell(idCell);

                     }

              }

          }

       

      While Executing this i m getting the following error:

      "Cannot execute in target engine 'main'! : (#54) Uncaught exception invalid parameter"

      What can be the possible reason?

      Any guidance will be highly appreciated.

      Thanks