Loading
PHPの脆弱性に関する監視状況について 続きを読む
弊社ヘルプサイトの Agentforce でケース作成フォームが表示されない場合の対応方法続きを読む
メールアドレスがデフォルトのログイン方式となります 続きを読む

Intermittent IMAP/S error: This operation is not allowed on a closed folder

公開日: Jul 16, 2025
解決策

SYMPTOM

A Mule Application intermittently shows exceptions similar to the trace shown below.

java.lang.IllegalStateException: This operation is not allowed on a closed folder
    at com.sun.mail.imap.IMAPFolder.checkOpened(IMAPFolder.java:409)
    at com.sun.mail.imap.IMAPFolder.getMessage(IMAPFolder.java:1376)
    at javax.mail.Folder.getMessages(Folder.java:880)

CAUSE

A common cause of this kind of issues is that the folder is being modified concurrently using the same account and credentials thus leaving the operations in an inconsistent state. 

SOLUTION

Verify that the account and credentials being used to process e-mails in your Mule Application is not shared with any other application, process or person. 

ナレッジ記事番号

001118194

 
読み込み中
Salesforce Help | Article