When i running the multiple execute statement service i got the error "Cannot read property "parameters" from null "
<p>I want to insert the below default values when i am running the service i got this below error any one please tell me how to resolve.</p>

<p><strong>Runtime error in script ("Process: 'CustomPersonalGS Practice' ProcessItem: 'Initialize' Type: 'ITEM'" -1:-1).TypeError: Cannot read property "parameters" from null</strong></p>

<p><a href="https://i.stack.imgur.com/NOVGQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NOVGQ.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/BQEt9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BQEt9.png" alt="enter image description here"></a></p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>//Initialise SQL Query List
tw.local.sqlQueries =  new tw.object.listOf.SQLStatement();
tw.local.sql = "";

tw.local.customerPD = new tw.object.customerPD1BO();
tw.local.customerPD.customerPersonalDetailsList = new tw.object.listOf.customerSpecificPersonalDetailsListBO();
var custPersonalDetails = new tw.object.customerSpecificPersonalDetailsListBO();
custPersonalDetails.customerId = "8467";
custPersonalDetails.custPersonalDetailsId = "8";
custPersonalDetails.isBPMEnabled = true;
custPersonalDetails.isCCPEnabled = true;
custPersonalDetails.isCCPMandatory = true;
custPersonalDetails.isLatestVersion = true
tw.local.customerPD.customerPersonalDetailsList.insertIntoList(tw.local.customerPD.customerPersonalDetailsList.listLength, custPersonalDetails);


tw.local.sql = "INSERT INTO CUSTOMPERSONALDETAILSQUESTION(CUSTOMERID,CUSTPERSONLADETAILSID,ISBPMENABLED,ISCCPENABLED,ISCCPMANDATORY,ISLATESTVERSION) VALUES (?,?,?,?,?,?) ";

function addSQLStatement() {
  tw.local.sqlQueries[tw.local.sqlQueries.listLength] = new tw.object.SQLStatement();
}

function addParam(value,type,mode) {
  log.info("VALUE :" + value);
  var newParam = new tw.object.SQLParameter();
  newParam.value = value;
  newParam.type = type;
  newParam.mode = mode;
     if( tw.local.sqlQueries == null){
         tw.local.sqlQueries = new tw.object.listOf.SQLStatement();
     }
    if( tw.local.sqlQueries[tw.local.sqlQueries.listLength] == null ){
         tw.local.sqlQueries.insertIntoList(tw.local.sqlQueries.listLength, new tw.object.SQLStatement());
    }
    if(tw.local.sqlQueries[tw.local.sqlQueries.listLength].parameters == null ){
        tw.local.sqlQueries[tw.local.sqlQueries.listLength].parameters = new tw.object.listOf.SQLParameter();
    }
  var paramsLength = tw.local.sqlQueries[tw.local.sqlQueries.listLength].parameters.listLength;
  tw.local.sqlQueries[tw.local.sqlQueries.listLength].parameters[paramsLength] = newParam;
}

for(var i=0;i&lt;tw.local.customerPD.customerPersonalDetailsList.listLength;i++){
    addSQLStatement(tw.local.sql);
 addParam(tw.local.customerPD.customerPersonalDetailsList[i].customerId,"VARCHAR","IN");
 addParam(tw.local.customerPD.customerPersonalDetailsList[i].custPersonalDetailsId,"VARCHAR","IN");
 var yesNoFlag = "N";
 if(tw.local.customerPD.customerPersonalDetailsList[i].isBPMEnabled){
  yesNoFlag="Y"; 
  addParam(yesNoFlag,"CHAR","IN");
 }
 yesNoFlag = "N";
 if(tw.local.customerPD.customerPersonalDetailsList[i].isCCPEnabled){
  yesNoFlag="Y"; 
  addParam(yesNoFlag,"CHAR","IN");
 }
 yesNoFlag = "N";
 if(tw.local.customerPD.customerPersonalDetailsList[i].isCCPMandatory){
  yesNoFlag="Y"; 
  addParam(yesNoFlag,"CHAR","IN");
 }
 yesNoFlag = "N";
 if(tw.local.customerPD.customerPersonalDetailsList[i].isLatestVersion){
  yesNoFlag="Y"; 
  addParam(yesNoFlag,"CHAR","IN");
 }
} </code></pre>
</div>
</div>
</p>