title: uncaughtException after a Protractor run
body: <p>After upgrading to Protractor 4.0.0 and adjusting the config because of the breaking changes, we finally have our tests launching.</p>
  
  <p>Now, the problem is that after a test run it fails with:</p>
  
  <pre><code>[09:52:22] E/launcher - "process.on('uncaughtException'" error, see launcher
  [09:52:22] E/launcher - Process exited with error code 199
  </code></pre>
  
  <p>How to debug this problem and understand what is causing it?</p>
  
  <hr>
  
  <p>Tried to run Protractor in "troubleshoot" mode:</p>
  
  <pre><code>$ protractor config/local.conf.js --troubleshoot
  </code></pre>
  
  <p>but got exactly the same output with no details about the error.</p>