-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
potential null pointer dereference in DeviceRotation.java #8183
Comments
@AutomatedTester similar to the issue #8185, would you please double check this one as well. |
@AutomatedTester and @barancev can either of you reopen issue and hopefully fix it. We believe the problem is similar to the issue #8185. Thanks so much! |
@barancev thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
A clear and concise description of what the bug is.
In
DeviceRotation.java
(/java/client/src/org/openqa/selenium/DeviceRotation.java), line 52DeviceRotation
function whenmap
isnull
at line 53, the if body will be executed which will trigger a bug inmap.toString()
at line 55.To Reproduce
Detected by our static analysis tool.
Expected behavior
null pointer is not thrown
Test script or set of commands reproducing this issue
Again it's detected our static analysis algorithm
Environment
Any environment
We are developing a new static analysis tool for catching bugs in Java code. Would you please take a look and confirm this is indeed a bug? Thanks a million!!!
The text was updated successfully, but these errors were encountered: