Closed AleksandraZelik closed 11 months ago
Maybe a duplicate of https://github.com/appium/java-client/issues/2004
Try to downgrade the selenium version as a workaround
@mykola-mokhnach, i'm not sure that the issue is the same. And unfortunately downgrading the selenium version didn't help.
@mykola-mokhnach, i'm not sure that the issue is the same. And unfortunately downgrading the selenium version didn't help.
The stack trace looks similarly. Have you also tried to provide the log output explicitly?
@mykola-mokhnach thank you, added withLogOutput(ByteStreams.nullOutputStream()). And it is work
Duplicate of #2004
Hi, What is the solution for the above issue?
@AleksandraZelik Did you find solution for above issue? Even I am facing same
Description
Hey folks. I have an issue with starting appium server through the IDE. In some reason, it was worked on Monday, but now not. I didn't update java, Appium, Selenium, and other things that can have some dependence on it. I tried to debug it and found that in the AppiumServiceBuilder appiumJS variable is null, even when I override it through withAppiumJS. In the withAppiumJS appium got correct file, but on the builder part I see null exception.
Here are my properties:
Laptop details:
OS: macOS Ventura 1.13 Java: 15.0.2 appium: 2.1.3 node: 18.17.1
Code To Reproduce Issue:
package base;
import io.appium.java_client.service.local.AppiumDriverLocalService; import io.appium.java_client.service.local.AppiumServiceBuilder; import io.appium.java_client.service.local.flags.GeneralServerFlag; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import utils.ReadProperties;
import java.io.File; import java.io.IOException; import java.net.ServerSocket;
import static io.appium.java_client.service.local.flags.GeneralServerFlag.SESSION_OVERRIDE; import static java.lang.String.format; import static utils.Constants.KILL_NODE_COMMAND;
public class AppiumStarter { private static AppiumDriverLocalService appiumDriver; private static final Logger logger = LogManager.getLogger(AppiumStarter.class);
}