... Examples on how to avoid the bug ...
Notable is that you claim here is an opinion not an argument.
That immutability is not needed is also not an argument against it.
The point here is that working with immutables relieves you from some cognitive stress and repetitive work such as writing accessors and making fields private.