magento2 – Error: Call to a member function setPageSize() on null

I want to override admin side product grid collection, When Override then it’s showing below error

Error: Call to a member function setPageSize() on null in /var/www/html/2.4.1/vendor/magento/framework/View/Element/UiComponent/DataProvider/DataProvider.php:235 Stack trace: #0 /var/www/html/2.4.1/vendor/magento/module-ui/Component/Paging.php(88): MagentoFrameworkViewElementUiComponentDataProviderDataProvider->setLimit() #1 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Generator/UiComponent.php(164): MagentoUiComponentPaging->prepare() #2 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Generator/UiComponent.php(161): MagentoFrameworkViewLayoutGeneratorUiComponent->prepareComponent() #3 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Generator/UiComponent.php(161): MagentoFrameworkViewLayoutGeneratorUiComponent->prepareComponent() #4 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Generator/UiComponent.php(142): MagentoFrameworkViewLayoutGeneratorUiComponent->prepareComponent() #5 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Generator/UiComponent.php(103): MagentoFrameworkViewLayoutGeneratorUiComponent->generateComponent() #6 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/GeneratorPool.php(93): MagentoFrameworkViewLayoutGeneratorUiComponent->process() #7 /var/www/html/2.4.1/vendor/magento/framework/View/Layout.php(352): MagentoFrameworkViewLayoutGeneratorPool->process() #8 /var/www/html/2.4.1/generated/code/Magento/Framework/View/Layout/Interceptor.php(32): MagentoFrameworkViewLayout->generateElements() #9 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Builder.php(129): MagentoFrameworkViewLayoutInterceptor->generateElements() #10 /var/www/html/2.4.1/vendor/magento/framework/View/Page/Builder.php(65): MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks() #11 /var/www/html/2.4.1/vendor/magento/framework/View/Layout/Builder.php(65): MagentoFrameworkViewPageBuilder->generateLayoutBlocks() #12 /var/www/html/2.4.1/vendor/magento/framework/View/Layout.php(259): MagentoFrameworkViewLayoutBuilder->build() #13

enter image description here

Below code I have used

Below are first file

app/code/(Vendor)/(Module)/view/adminhtml/ui_component/product_listing.xml 

Below are the code

<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <dataSource name="driver_listing_data_source">
        <argument name="dataProvider" xsi:type="configurableObject">
            <argument name="class" xsi:type="string">VendorModuleUiDataProviderDriverDataProvider</argument>
            <argument name="name" xsi:type="string">driver_listing_data_source</argument>
            <argument name="primaryFieldName" xsi:type="string">id</argument>
            <argument name="requestFieldName" xsi:type="string">id</argument>
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="addField" xsi:type="boolean">false</item>
                    <item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
                    <item name="add_field" xsi:type="boolean">false</item>
                    <item name="sortOrder" xsi:type="number">999</item>
                    <item name="update_url" xsi:type="url" path="mui/index/render"/>
                    <item name="storageConfig" xsi:type="array">
                        <item name="indexField" xsi:type="string">id</item>
                        <item name="dataScope" xsi:type="string">store_id</item>
                    </item>
                    <item name="filter_url_params" xsi:type="array">
                        <item name="es" xsi:type="string">*</item>
                    </item>
                </item>
            </argument>
        </argument>
    </dataSource>
</listing>

app/code/(Vendor)/(Module)/Ui/DataProvider/DriverDataProvider.php

<?php
    /**
     * Copyright © Magento, Inc. All rights reserved.
     * See COPYING.txt for license details.
     */
    
    namespace (Vendor)(Module)UiDataProvider;
    
    
    use MagentoFrameworkViewElementUiComponentDataProviderDataProvider;
    
    
    /**
     * Class DataProvider
     */
    class DriverDataProvider extends DataProvider
    {
    
        protected function prepareUpdateUrl()
        {
            if (!isset($this->data('config')('filter_url_params'))) {
                return;
            }
            foreach ($this->data('config')('filter_url_params') as $paramName => $paramValue) {
                if ('*' == $paramValue) {
                    $paramValue = $this->request->getParam($paramName);
                }
    
                if ($paramValue) {
                    $this->data('config')('update_url') = sprintf(
                        '%s%s/%s/',
                        $this->data('config')('update_url'),
                        $paramName,
                        $paramValue
                    );
                    parent::addFilter(
                        $this->filterBuilder->setField($paramName)->setValue($paramValue)->setConditionType('eq')->create()
                    );
                }
            }
        }
        
    }