AnsweredAssumed Answered

Unexpected error in the SMTP handler thread

Question asked by sscbrian on Aug 19, 2015
Latest reply on Aug 20, 2015 by sscbrian
After setting up and using Inbound SMTP for awhile, I've noticed we're collecting a lot of errors in the log (below).  Appears to be the same issue as http://forums.alfresco.com/de/node/31633 and referenced as "fixed" in https://issues.alfresco.com/jira/browse/MNT-14140 back in 4.2.5.  I'm using 5.0.a.  Possible regression, or am I somehow configuring something so wrong that it can fail?

I've also pulled the community repo and looked at the code.  Not seeing any obvious way an NPE can even happen in that method with the current community tree, so perhaps it is just a regression that's now been fixed and I just need to upgrade to 5.0.d to solve?


ERROR [org.subethamail.smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.18.17:43505] Unexpected error in the SMTP handler thread
java.lang.NullPointerException
   at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
   at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
   at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:164)
   at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
   at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
   at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
   at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
   at org.subethamail.smtp.server.Session.run(Session.java:125)

Outcomes