Unable to scroll on Android spinner

I am trying to set Android date/time through Android settings. My problem is I am unable to use the scroll function as I get an element not found exception though element exists on screen. Following is my code:

TestSection.getDriver().findElement(By.id("android:id/sem_datepicker_calendar_header_text")).click();
		TestSection.getDriver().findElement(By.xpath("//android.widget.LinearLayout[@index='1']//android.widget.NumberPicker[@index='0']")).click();
		Thread.sleep(2000);

		MobileElement element = (MobileElement) NaluTestSection.getDriver().findElement(MobileBy.AndroidUIAutomator(
				"new UiScrollable(new UiSelector().resourceIdMatches(\".*:id/sem_datepicker_spinner_month\").scrollable(true))" +
		         ".scrollIntoView(new UiSelector().text(\"NOV\"))"));

Error:
[ERROR] 2021-12-15 18:38:02 framework.Listeners.ExecutionListener 165 onTestFailure - Error type : {}
org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘NALU-PF2JP03M’, ip: ‘192.168.100.183’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_261’
Driver info: io.appium.java_client.AppiumDriver
Capabilities {appActivity: crc6429e3927486beccbc.Activ…, appPackage: Nalu.CP.Android, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {appActivity: crc6429e3927486beccbc.Activ…, appPackage: Nalu.CP.Android, autoGrantPermissions: true, automationName: uiautomator2, newCommandTimeout: 5000, noReset: true, platformName: android, platformVersion: 10, resetKeyboard: true, udid: R52N20ALVDN}, deviceApiLevel: 29, deviceManufacturer: samsung, deviceModel: SM-T860, deviceName: R52N20ALVDN, deviceScreenDensity: 360, deviceScreenSize: 2560x1600, deviceUDID: R52N20ALVDN, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 5000, noReset: true, pixelRatio: 2.25, platform: LINUX, platformName: LINUX, platformVersion: 10, resetKeyboard: true, statBarHeight: 54, takesScreenshot: true, udid: R52N20ALVDN, viewportRect: {height: 1438, left: 0, top: 54, width: 2560}, warnings: {}, webStorageEnabled: false}
Session ID: 800f5472-5e84-4369-b29f-09e04074dc3b
*** Element info: {Using=-android uiautomator, value=new UiScrollable(new UiSelector().resourceIdMatches(".*:id/sem_datepicker_spinner_month").scrollable(true)).scrollIntoView(new UiSelector().text(“NOV”))}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_261]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_261]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_261]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_261]
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) ~[selenium-remote-driver-3.141.59.jar:?]
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) ~[selenium-remote-driver-3.141.59.jar:?]
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) ~[selenium-remote-driver-3.141.59.jar:?]
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) ~[selenium-remote-driver-3.141.59.jar:?]
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231) ~[java-client-6.1.0.jar:?]
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) ~[selenium-remote-driver-3.141.59.jar:?]
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42) ~[java-client-6.1.0.jar:?]
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) ~[java-client-6.1.0.jar:?]
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323) ~[selenium-remote-driver-3.141.59.jar:?]
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:62) ~[java-client-6.1.0.jar:?]
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1) ~[java-client-6.1.0.jar:?]
at io.appium.java_client.MobileBy.findElement(MobileBy.java:63) ~[java-client-6.1.0.jar:?]
at io.appium.java_client.MobileBy$ByAndroidUIAutomator.findElement(MobileBy.java:240) ~[java-client-6.1.0.jar:?]

Any reason why the element is said as not found?