java.lang.NullPointerException

Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via GitHub by riddle
    ,
  • via GitHub by riddle
    ,
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.util.regex.Matcher.appendEvaluated(Matcher.java:131) at java.util.regex.Matcher.appendReplacement(Matcher.java:111) at java.util.regex.Matcher.replaceAll(Matcher.java:319) at java.lang.String.replaceAll(String.java:1353)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,