Skip to content

Commit a68848e

Browse files
committed
Fix null pointer exception when the remote session can not be started
1 parent 9c0978d commit a68848e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/appium/java_client/AppiumDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
public class AppiumDriver extends RemoteWebDriver implements MobileDriver, ContextAware, FindsByIosUIAutomation,
3535
FindsByAndroidUIAutomator, FindsByAccessibilityId {
3636

37-
private final MobileErrorHandler errorHandler = new MobileErrorHandler();
37+
private final static MobileErrorHandler errorHandler = new MobileErrorHandler();
3838

3939
public AppiumDriver(URL remoteAddress, Capabilities desiredCapabilities){
4040

0 commit comments

Comments
 (0)