title: Error in ResponseExeption while populating FOSElasticaBundle/Symfony2
body: <p>I am trying to get FOSElasticaBundle to work.
  ElasticSearch Instance is running on localhost:9200 and responding.</p>
  
  <p>I followed each step in the docs <a href="https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/setup.md" rel="nofollow">https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/setup.md</a></p>
  
  <p>but at the last step, I get this error in my console:</p>
  
  <pre><code>c:\xampp\htdocs\my\folder&gt;php app/console fos:elastica:populate
  Resetting app
  
  Fatal error: Wrong parameters for Exception([string $exception [, long $code [,
  Exception $previous = NULL]]]) in C:\xampp\htdocs\my\folder\vendor\rufli
  n\elastica\lib\Elastica\Exception\ResponseException.php on line 34
  
  [Symfony\Component\Debug\Exception\FatalErrorException]
  
  Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])
  
  
  fos:elastica:populate [--index[="..."]] [--type[="..."]] [--no-reset] [--offset="..."] [--sleep="..."] [--batch-size="..."] [--ignore-errors] [--no-overwrite-format]
  </code></pre>
  
  <p>It seems like there are 3 parameters mandatory for "__construct"-Function, but there are only 2 of them. I've simply tried to add "NULL"-parameter to get it work, but then another function throws an error.</p>
  
  <pre><code>public function __construct(Request $request, Response $response)
  {
      $this-&gt;_request = $request;
      $this-&gt;_response = $response;
      parent::__construct($response-&gt;getError());
  }
  </code></pre>
  
  <p>Is this a common problem? How do I solve it?</p>