String.replaceAll() or String.split() where the first argument is a single regex meta character argument.
The regex meta characters are one of .$|()[{^?*+\. They have a special meaning in regular expressions.
For example, calling "ab.cd".replaceAll(".", "-") produces "-----", because the dot matches any character.
Most likely the escaped variant "\\." was intended instead.
Example:
s.replaceAll(".", "-");
After the quick-fix is applied:
s.replaceAll("\\.", "-");