When I do clear cache using command line & refresh page on Frontend 1st time it gives below exception.
1 exception(s): Exception #0 (RuntimeException): The path "D:/wamp/www/magento2/var/generation/Magento/Checkout/Model/Session/Interceptor.php.6260" cannot be renamed into "D:/wamp/www/magento2/var/generation/Magento/Checkout/Model/Session/Interceptor.php" Warning!rename(D:/wamp/www/magento2/var/generation/Magento/Checkout/Model/Session/Interceptor.php.6260,D:/wamp/www/magento2/var/generation/Magento/Checkout/Model/Session/Interceptor.php): The process cannot access the file because it is being used by another process. (code: 32)
When i refresh same page again/2nd time it loads page proper. What will be cause for above exception?