I am working in spherical polar coordinates $(r,\theta,\phi)$ where $\theta$ and $\phi$ are the polar and azimuthal angles respectively. I define a vector field $\mathbf{V}=\phi \hat{\boldsymbol{\phi}}$, which has divergence $$ \boldsymbol{\nabla}\cdot\mathbf{V}=\frac{1}{r^2}\frac{\partial}{\partial r}(0)+ \frac{1}{r\sin\theta}\frac{\partial}{\partial \theta}(0) + \frac{1}{r\sin\theta}\frac{\partial}{\partial \phi}(\phi) = \frac{1}{r\sin\theta} .$$
Also define $u=e^{-r^2}$, with gradient $$ \boldsymbol{\nabla}u=\Bigg(\hat{\mathbf{r}}\frac{\partial}{\partial r} + \frac{1}{r}\hat{\boldsymbol{\theta}}\frac{\partial}{\partial \theta} + \frac{1}{r\sin\theta} \hat{\boldsymbol{\phi}} \frac{\partial}{\partial \phi}\Bigg) e^{-r^2} = -2r e^{-r^2} \hat{\mathbf{r}} . $$
Then I can write $$ \boldsymbol{\nabla}\cdot(u\mathbf{V}) = u\boldsymbol{\nabla}\cdot\mathbf{V} + \boldsymbol{\nabla}u\cdot\mathbf{V} = \frac{e^{-r^2}}{r\sin\theta} $$
I want to integrate the above expression over all $\mathfrak{R}^3$. I apply divergence theorem to the left hand side, evaluated at the surface of a sphere at infinity. So I get
$$ LHS= \int\boldsymbol{\nabla}\cdot(u\mathbf{V}) dV= \int u \mathbf{V}\cdot d\mathbf{S} = \int u \mathbf{V}\cdot \hat{\mathbf{r}} dS = 0,$$
as expected. But for the RHS I get $$ RHS=\int \frac{e^{-r^2}}{r\sin\theta} dV = 2\pi \int_{0}^{\infty} dr\, r e^{-r^2} \int_{0}^{\pi} d\theta = \pi^2 .$$
Obviously this cannot be right! I have pored over this but I cannot figure out what is happening. Thanks in advance.