Well than the java implementation of UUID is flawed!
That really is vanishingly small.
So, rationally, I'd guess it is more likely there is a problem with the implementation of UUID you are using, or just perhaps there is some other cause of the collision...like a bug?
The likelihood of a v4 collision is tied to the strength of the platform's (crypto) RNG.