-
-
Notifications
You must be signed in to change notification settings - Fork 764
bug: get java.lang.NullPointerException when start appium programmatically #2014
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I got the same issue with Android, is there any solution? please help me |
@fatahillahardhi and @qubui add a log file in the Appium service builder it will resolve The below code will resolve the issue |
Thanks a lot @ashwithpoojary98, you are my life saver :). |
I need one more help that how to run test with real device for android and on browserStack, @ashwithpoojary98 do you have any hint? |
@qubui, |
@ashwithpoojary98 Do you have a code for these? |
What does this line exactly do @ashwithpoojary98 This line fixed the problem somehow |
@manikantp issue with the Selenium Build log file, and it was recently fixed. Before, it was checking for the file in a default location that does not exist. |
Oh that's why I thought why is the code behaving like this 😅. Thanks by the way 👍. This helped a lot |
Duplicate of #2004 |
Uh oh!
There was an error while loading. Please reload this page.
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
I tried to run Appium programmatically and always failed because
java.lang.NullPointerException
Expected Behavior
can run normally because when I used Appium 1.22.3 it can run as well
Minimal Reproducible Example
Environment
appium --version
): 2.1.3node --version
): v18.17.1npm
version (output ofnpm --version
): 9.8.1Link to Appium Logs
https://gist.github.com/fatahillahardhi/7f2023cabb07f2425342dec1eb7b1a47
Further Information
here's my code
The text was updated successfully, but these errors were encountered: