title: java.lang.IllegalArgumentException: No more parsing elements
body: <p>I have angularjs frontend and java backend, in development it works, but not in production,
  same code, same database.
  I get this error:</p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: No more parsing elements.</p>
  </blockquote>
  
  <p>I noticed that in development some json fields are empty strings like "field" : "", but in production the same field is null like "filed" : null, and another field is an object like "field" : {}</p>
  
  <p>Both development and production are debian linux, nginx 1.16.1, same angularjs code and java code.</p>
  
  <p>What could make this happen?</p>