Skip to content

bug: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.os.CommandLine.isRunning()" because "this.process" is null #1877

Closed
@kuldeep04

Description

@kuldeep04

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Getting java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.os.CommandLine.isRunning()" because "this.process" is null error from appium v2.0.0-beta.57.

Node version: v19.5.0

Expected Behavior

getting error from AppiumDriverLocalService.start() method, I think node exe file is getting picked by the Appium while it was working 15 days ago with the same configuration.

Minimal Reproducible Example

`java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.os.CommandLine.isRunning()" because "this.process" is null

at io.appium.java_client.service.local.AppiumDriverLocalService.destroyProcess(AppiumDriverLocalService.java:220)
at io.appium.java_client.service.local.AppiumDriverLocalService.destroyProcess(AppiumDriverLocalService.java:253)
at io.appium.java_client.service.local.AppiumDriverLocalService.start(AppiumDriverLocalService.java:176)`

Environment

  • Operating system:
  • If running via appium CLI...
    • Appium CLI version (output of appium --version):
    • Node.js version (output of node --version):
    • npm version (output of npm --version):
    • Last appium version which did not exhibit the problem:
  • If running Appium Desktop, its version:
  • Appium driver(s) and their version(s):
  • Appium plugin(s) and their version(s):
  • Platform and version under test:
  • Real device or emulator/simulator:

Link to Appium Logs

No response

Futher Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions