You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you pass in null to this method, it throws a NullPointerException as it fails to create a regex matcher:
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1769)
at java.base/java.util.regex.Matcher.reset(Matcher.java:415)
at java.base/java.util.regex.Matcher.<init>(Matcher.java:252)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
at org.semver4j.internal.Coerce.coerce(Coerce.java:20)
at org.semver4j.Semver.coerce(Semver.java:89)
If you pass in
null
to this method, it throws aNullPointerException
as it fails to create a regex matcher:Originally posted by @NielsDoucet in #177 (comment)
The text was updated successfully, but these errors were encountered: