Error got resolved by breaking the build and rebuilding it, although i had to do the process 5 times.