this could happen when some thread is creating new files in that directory when the list() method is being called. (it shows up on Winodws so far).