Unable to create a new remote session. Please check the server log for more details

I am facing java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processin

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘HTCLT3099’, ip: ‘192.168.0.115’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: SwipeableAndroidDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

at getResponseForW3CError (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘HTCLT3099’, ip: ‘192.168.0.115’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: SwipeableAndroidDriver
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:488)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘HTCLT3099’, ip: ‘192.168.0.115’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: SwipeableAndroidDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

at getResponseForW3CError (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: SwipeableAndroidDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:85)
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:503)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:485)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:417)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startExistingApp(MobileInspectorController.java:143)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.smartStartAndroidApp(MobileLocalAppComposite.java:554)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.smartStartApp(MobileLocalAppComposite.java:523)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.access$18(MobileLocalAppComposite.java:517)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:494)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)
… 2 more
Caused by: java.lang.reflect.InvocationTargetException
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
… 25 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info:
, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: SwipeableAndroidDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\app-dir\.katalon\tools\android_sdk\platform-tools\adb.exe -P 5037 -s IBGQLB4DEQEQBAXS shell pm clear com.android.settings’ exited with code 255’; Command output:
Exception occurred while executing ‘clear’:
java.lang.SecurityException: adb clearing user data is forbidden.
at com.android.server.pm.OplusClearDataProtectManager.interceptClearUserDataIfNeeded(OplusClearDataProtectManager.java:88)
at com.android.server.pm.OplusBasePackageManagerService$OplusPackageManagerInternalImpl.interceptClearUserDataIfNeeded(OplusBasePackageManagerService.java:531)
at com.android.server.am.ActivityManagerService.clearApplicationUserData(ActivityManagerService.java:4752)
at com.android.server.pm.PackageManagerShellCommand.runClear(PackageManagerShellCommand.java:2162)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:240)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23434)
at android.os.Binder.shellCommand(Binder.java:949)
at android.os.Binder.onTransact(Binder.java:833)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4603)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4878)
at com.android.server.pm.OplusPackageManagerService.onTransact(OplusPackageManagerService.java:176)
at android.os.Binder.execTransactInternal(Binder.java:1201)
at android.os.Binder.execTransact(Binder.java:1143)

at getResponseForW3CError (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Users\app-dir\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
... 26 more