Skip to content
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

Web Driver Exception for versions >2.2.0 #794

Open
sasasa42 opened this issue Nov 8, 2022 · 6 comments
Open

Web Driver Exception for versions >2.2.0 #794

sasasa42 opened this issue Nov 8, 2022 · 6 comments

Comments

@sasasa42
Copy link

sasasa42 commented Nov 8, 2022

The problem

I am finding some web driver exception when I update the python package dependency Appium Python Client to 2.7.1. PFA the screenshot of the same. It works absolutely fine for 2.2.0. Please let me know how to go about this.

Environment

  • Appium version (or git revision) that exhibits the issue: v1.20.2
  • Last Appium version that did not exhibit the issue (if applicable): v1.20.2
  • Desktop OS/version used to run Appium: NA
  • Node.js version (unless using Appium.app|exe): NA
  • Mobile platform/version under test: android/10
  • Real device or emulator/simulator: cloud device
  • Appium CLI or Appium.app|exe: NA

Screenshot 2022-11-08 at 2 07 05 PM

@KazuCocoa
Copy link
Member

Sorry, where did the java.lang.NullPointerException come from?
appium is NodeJS, so the response message should not be such Java error.

Please attache the appium server log, and relevant module logs (and more explanation about your configuration.)

@sasasa42
Copy link
Author

sasasa42 commented Nov 9, 2022

@KazuCocoa
Copy link
Member

I mean the server side log to see the actual request structure, not client itself. I guess you haven't sent a new session request to an appium directly.

The possible case is the base selenium-webdriver version update.

@sasasa42
Copy link
Author

PFA the server side logs. But there is nothing much useful. What would be the ideal selenium webdriver version, currently it works with selenium 4.2
appiumLogsAPC2.7.1.txt

@KazuCocoa
Copy link
Member

KazuCocoa commented Nov 10, 2022

The server log did not have the request of POST /wd/hub/session, so did something exist between the attached server log's instance and the Python client to interrupt the Python client request (which returns null pointer exception?)?

Our CI has tests with latest Appium/Selenium with a server as https://github.com/appium/python-client/runs/9135002927 . Then, the selenium server might work. I wonder if the server which returns the null pointer exception was not able to parse W3C capabilities properly.

@sasasa42
Copy link
Author

Not sure. there was nothing to interrupt the flow. Just that when updated to higher versions, showed this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants