5 Replies Latest reply on Aug 15, 2013 9:37 PM by N Santosh Kumar

    Retrying Email Service fails for the stalled Operations:

    kc_chaitu Level 2

      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

        • 1. Re: Retrying Email Service fails for the stalled Operations:
          ashjain__

          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

          • 2. Re: Retrying Email Service fails for the stalled Operations:
            kc_chaitu Level 2

            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:4 26)

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

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

             

             

            Regards,

            Krishna

            • 3. Re: Retrying Email Service fails for the stalled Operations:
              ashjain__ Level 1

              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

              • 4. Re: Retrying Email Service fails for the stalled Operations:
                pic\

                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

                • 5. Re: Retrying Email Service fails for the stalled Operations:
                  N Santosh Kumar Adobe Employee

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

                   

                   

                  --Santosh