Okay, I found out that CSSOMParser is not threadsafed. Fixed by using separate CSSOMParser instance each time.
I'm getting the same issue. But not sure what was your ClassLoader issue. I don't see any ClassLoader here. @Hayri: can you give more details?