title: "PWC3999: Cannot create a session after the response has been committed"
body: <p>I'm having this weird problem with one of the pages of my application. It's throwing the error I mention on the title:</p>
  
  <pre><code>PWC3999: Cannot create a session after the response has been committed
  </code></pre>
  
  <p>I've checked other posts regarding this subject, but I don't see anything that applies to this situation, because no new Servlet/Filter was added to the application and the error just started after some minor changes on the javascript of the xhtml file.
  If I delete any line the error stops showing.
  At first I believed that it could be some problem with the buffer size and increased the values (10x bigger, just to make sure), but that didn't solved the problem.</p>
  
  <p>And, to be honest, I don't think this is related to the size of the file, because it used to be bigger and it worked without any problems.</p>
  
  <p>I also checked and couldn't find any forward/redirect being called for this case.</p>
  
  <p>Can someone help me with this?</p>
  
  <p>Kind regards,</p>
  
  <p>Carlos Ferreira</p>
  
  <p><strong>EDIT: This error occurs with GF v3.1, but it doesn't occur on GF v3.0.1, can it be a bug with the facelets implementation?</strong></p>