The two integrals in the attached notebook are algebraically identical but produce different results. I'd like to understand why, and whether there is something I can do to consistently obtain the nonzero result.
Note that there is a singularity for theta=phi=0. This can cause trouble.
Yes, strange indeed! And the (wrong!) result depends on the order of integration:
I've encountered the situation before where the order of integration greatly effects the results. You might find this post to be interesting reading
Not sure, but 0 is the wrong answer:
As far as I can tell, that's a bug.