title: SonarQube giving a "Fields in a "Serializable" class should either be transient or serializable" when class is serializable?
body: <pre><code>public class ClassName implements Serializable {
  
  private static final long serialVersionUID = 1L;
  
  private Map&lt;String, Object&gt; variableName;
  </code></pre>
  
  <p>In the above code, the sonarQube is giving CRITICAL level issue because of variableName. I know Object is not serializable but do anyone have any solution to avoid or resolve this issue.</p>