-
-
Notifications
You must be signed in to change notification settings - Fork 765
Open
Description
appium IOSDriver getSettings() throw NPE on appium server 15.
- start appium, IOSDriver iosDriver = new IOSDriver(xx,xxx);
- iosDriver.setSetting(Setting.IMAGE_MATCH_THRESHOLD, 0.8);
- iosDriver.getSettings();
then it throws NPE
Environment
Appium java client: io.appium:io.appium:7.1.0 / io.appium:io.appium:7.2.0
Appium version: 1.15.0
Node.js version: v11.2.0
Npm version: 6.4.1
Mobile platform/version under test: ios13.1
Real device or emulator/simulator: real device
Details
it's because that the setting "reduceMotion" is null in new appium server(1.15.0).
and then
ImmutableMap.builder().putAll((Map)Map.class.cast(response.getValue())) will throw NPE
Metadata
Metadata
Assignees
Labels
No labels

