You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are sometimes getting this error on a somewhat slow Jenkins server:
Caused by: java.lang.IllegalStateException: Unexpected error handling connection
at com.icegreen.greenmail.smtp.SmtpHandler.run(SmtpHandler.java:55)
at com.icegreen.greenmail.server.AbstractServer.lambda$handleClientSocket$0(AbstractServer.java:174)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: Mailbox -371627052 already exists in [HierarchicalFolder{name='-371627052', parent=HierarchicalFolder{name='#mail', parent=null, isSelectable=false}, isSelectable=false}]
at com.icegreen.greenmail.store.HierarchicalFolder.createChild(HierarchicalFolder.java:100)
at com.icegreen.greenmail.store.InMemoryStore.createMailbox(InMemoryStore.java:63)
at com.icegreen.greenmail.imap.ImapHostManagerImpl.createPrivateMailAccount(ImapHostManagerImpl.java:93)
at com.icegreen.greenmail.user.UserImpl.create(UserImpl.java:35)
at com.icegreen.greenmail.user.UserManager.createUser(UserManager.java:61)
at com.icegreen.greenmail.user.UserManager.test(UserManager.java:87)
at com.icegreen.greenmail.smtp.commands.AuthCommand.authLogin(AuthCommand.java:115)
at com.icegreen.greenmail.smtp.commands.AuthCommand.execute(AuthCommand.java:68)
at com.icegreen.greenmail.smtp.SmtpHandler.handleCommand(SmtpHandler.java:92)
at com.icegreen.greenmail.smtp.SmtpHandler.run(SmtpHandler.java:46)
... 2 more
Could it be that the checking for an existing user in UserManager#test and the mailbox creation in HierarchicalFolder#createChild need to be synchonized?
The text was updated successfully, but these errors were encountered:
Version: 2.0.0.
We are sometimes getting this error on a somewhat slow Jenkins server:
Could it be that the checking for an existing user in
UserManager#test
and the mailbox creation inHierarchicalFolder#createChild
need to be synchonized?The text was updated successfully, but these errors were encountered: