title: Error Encountered: An unexpected error occurred
body: <p>Suddenly the scripts I was working on, are all stating this error when I use a click handler: <code>Error Encountered: An unexpected error occurred</code></p>
  
  <p><strong>For example :</strong> </p>
  
  <pre><code>var clickHandlerColapse = app.createServerClickHandler("respondColapse");
  upButton.addClickHandler(clickHandlerColapse);&lt;br&gt;
  clickHandlerColapse.addCallbackElement(verPanel);
  </code></pre>
  
  <p><strong>Calling the function:</strong> </p>
  
  <pre><code>function respondColapse(e) {
      var app = UiApp.getActiveApplication();
      app.getElementById('abpanel').setVisible(false);
      return app.close();
  }
  </code></pre>
  
  <p>Any ideas what could cause this or why?</p>