I was working on a standard and having finished some harmony work, I thought I'd have a listen to a recording of the same tune and I'd comp along with the piano player. About half way through the second chorus I play what I thought was a nice line and immediately after, the pianist plays exactly the same phrase. I burst out laughing.
Just goes to show. Practice is important but when it comes to finally playing your solos, the less thinking the better. However else could you be open to such things?