title: 'Error calling method on NPObject!' issue with removing a KML added through a network link
body: <p>I am adding a KMZ file through network link on a <strong>ADD KMZ</strong> button's onclick as follows  :-</p>
  
  <pre><code>var nlFile=null;
  function addKMZData(){
      nlFile=ge.createNetworkLink('exampleKMLNL1');
      nlFile.setVisibility(true);
      var link = ge.createLink(" exampleLink1 ");
      link.setHref('http://localhost:8080/KMZs/example.kmz');
      nlFile.setLink(link);
      nlFile.setFlyToView(true);
      nlFile.setName('kmz');
      ge.getGlobe().getFeatures().appendChild(nlFile);
  }
  </code></pre>
  
  <p>The 'example.kmz' file taken here contains a linestring placemark and the installed plugin version is 6.1.0.5001.</p>
  
  <p>Then, I have a <strong>REMOVE</strong> button, clicking which removes the above added KMZ 's network link from the ge-plugin's instance. The following is the <strong>REMOVE</strong> button's onclick function :</p>
  
  <pre><code>function clearKMZData(){
      ge.getFeatures().removeChild(ge.getElementById('exampleKMLNL1'));
      nlFile=null;
  }
  </code></pre>
  
  <p>These functions work well for the first time. But any attempt to add the same KMZ file using the addKMZData() function after removing the added KMZ network link, gives the error "Error calling method on NPObject!" at line 1 of the add function. Is this way of adding &amp; removing KMZ/KML data through network links correct? Am I missing something in the above 2 JavaScript functions?</p>
  
  <p>Regards,
  Shiva</p>