This content has been marked as final. Show 2 replies
the first thing to check would be that there's... and if there is, note that there is a timing-window problem between calling imapFolder.isOpen() and imapFolder.close(). Only one thread should be doing this anyway.
no logic error in your application that's causing multiple threads to try to close
the same folder.