After Executing Import Command The error is coming

I am getting the below issue when executing the command. Please confirm how can i solve it.

ERROR:Doctrine\DBAL\ConnectionException: There is no active transaction. in /var/www/html/project/vendor/doctrine/dbal/lib/Doctrine/DBAL/ConnectionException.php:20

Stack trace:
#0 /var/www/html/project/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1342): Doctrine\DBAL\ConnectionException::noActiveTransaction()

#1 /var/www/html/project/src/AppBundle/Command/ImportCommand.php(358): Doctrine\DBAL\Connection->rollBack()

#2 /var/www/html/project/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): AppBundle\Command\ImportCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#3 /var/www/html/project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(1019): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#4 /var/www/html/project/vendor/symfony/symfony