Expand my Community achievements bar.

Retrying Email Service fails for the stalled Operations:

Avatar

Former Community Member

Hi,

Some of the send email operations randomly fails due to invalid recipients address or some connectivity issues with SMTP server. Once we do the corrections to the service, and retry those stalled operations, its erring out with Java Nullpointer exception.

Stalled operations work fine for other operations except for email service. Is this a Engineering issue with the Adobe design or do we need to change any configuration settings to make that work?

Thanks for your time.

Regards,

Krishna

5 Replies

Avatar

Former Community Member

Hi Krishna,

Can you send the complete exception trace and also the orchestration, if possible. And also after correcting the service, creating new operations works fine, right?

We checked stalled operations for email service but for us, it is working fine.

Thanks,

Aashish

Avatar

Former Community Member

Hi Aashish,

  Thanks for the response. Yes, it works good for new operations. It fails with Null pointer exception if I retry the stalled ones after corrections.

This was the initial error -

Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421: com.adobe.idp.dsc.email.ConnectionFailedException: Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421

We corrected the problems with SMTP server and when we retried this stalled operation, this is what we see -

( Email has an attachment, I 'm thinking adobe is not catching up the attachments when I retry it again)

com.adobe.idp.DocumentError: com.adobe.idp.DocumentError: java.lang.IllegalStateException: No transaction

          at com.adobe.idp.Document.getDataBuffer(Document.java:2134)

          at com.adobe.idp.dsc.email.EmailServiceImpl.assembleAttachments(EmailServiceImpl.java:533)

          at com.adobe.idp.dsc.email.EmailServiceImpl.setMessageBody(EmailServiceImpl.java:496)

          at com.adobe.idp.dsc.email.EmailServiceImpl.sendWithMapOfAttachments(EmailServiceImpl.java:426)

          at sun.reflect.GeneratedMethodAccessor7169.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

Regards,

Krishna

Avatar

Former Community Member

Hi Krishna,

Thanks for telling the complete scenario. We are able to reproduce it in-house and will be fixed in next release.

Thanks,

Aashish

Avatar

Level 1

We are experiencing a similar issue.  What version are you talking about?  We are on ES3 10.0.2 SP1. Is there a fix for this version, and if so, what is it?

Thanks,

ep

Avatar

Employee

The fix mentioned by Aashish will be part of next service pack over LiveCycle ES4

--Santosh