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
{{ message }}
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
the null value is returned by method tokenizePath. There are still several points that use this null value, including:
3.1. assigned to variable pathDirs in method doMatch and used it by pathDirs.length - 1 in method doMatch
3.2. assigned to variable tokenized in method tokenizePattern and assigned to variable pattDirs by String[] pattDirs = tokenizePattern(pattern); in method doMatch. Finally, it is used by pattDirs.length - 1;
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, we have reported the bugs a while ago would you please take a look and confirm if they are real bugs. We have been conducting an experiment to measure the accuracy of our static checker. We would be deeply appreciated if you can provide some feedback!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all,
Our tool has found one kind of potential NPE bugs caused by returning null in method tokenizeToStringArray.
There are several points that use the
null
value, including:assigned to variable
pathParts
in method extractPathWithinPattern and used it bypathParts.length
in method extractPathWithinPatternassigned to variable
patternParts
in method extractPathWithinPattern and used it bypathParts.length
in method extractPathWithinPatternthe
null
value is returned by method tokenizePath. There are still several points that use thisnull
value, including:3.1. assigned to variable
pathDirs
in method doMatch and used it bypathDirs.length - 1
in method doMatch3.2. assigned to variable
tokenized
in method tokenizePattern and assigned to variablepattDirs
byString[] pattDirs = tokenizePattern(pattern);
in method doMatch. Finally, it is used bypattDirs.length - 1;
Thanks.
The text was updated successfully, but these errors were encountered: