Wednesday, July 17, 2013

EBS-- Notification mailer Inbound/Imap java.lang.NullPointerException

Environment: 

Exchange Server 2010 servicing IMAP for notification mailer ( EBS R12)

Symptoms:

  • Notification mails can not be approved..
  • Following errors seen in Notification mailer's logfile ->Thread[inboundThreadGroup1,5,inboundThreadGroup]:217.78.110.53:81254:1373535220200:19:ERROR:[SVC-GSM-WFMLRSVC-48532-10006 : oracle.apps.fnd.wf.mailer.IMAPInboundProcessor.readNewMessages()]:Lost connection to INBOX when performing {Obtaining UID}. Try again later -> java.lang.NullPointerException
Control from backend:


telnet imapserver imapport(143)

1 login <IMAP Account> <IMAP Account password>

2 LIST "" INBOX

3 SELECT INBOX

4 SEARCH UNSEEN ALL

5 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE UID)

6 FETCH 1 (FLAGS)

7 FETCH 1 (BODY.PEEK[HEADER.FIELDS (X-UID)]) --> Error: "BAD Command Argument Error. 11"

8 FETCH 1 (BODY.PEEK[HEADER.FiELDS (X-UID)])

9 LOGOUT

Solution:

The problem is due to regional settings of the Imap Server. It should be English. 
Otherwise, If you are using MS Exchange as IMAP Server, you will probably encounter this error.. This problem was figured out while analyzing an environment where Turkish language was set for the Regional Language.

"Change Regional Language, welcome screen ,unicode and user settings of the IMAP server(Exchange Server) to English.."


No comments :

Post a Comment