Uploaded image for project: 'Newsletter'
  1. Newsletter
  2. NEWSLETTER-246

Can't send a newsletter : NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      When validating a newsletter, the newsletter is not send. Instead, you can see in the logs of the application :

      org.apache.cocoon.util.location.LocatedException: Can not dispatch request '2' : 'cms' 'do-action/4' '{contentId=defaultWebContent://949ebb67-9b94-48fb-a7e4-dd815ce1f323, id=defaultWebContent://949ebb67-9b94-48fb-a7e4-dd815ce1f323, with-contents=/_plugins/cms/contents/info, send=true}'
      ....
      Caused by: java.lang.NullPointerException
      	at org.ametys.plugins.newsletter.workflow.SendNewsletterFunction._getBodyAsHtml(SendNewsletterFunction.java:228)
      	at org.ametys.plugins.newsletter.workflow.SendNewsletterFunction.execute(SendNewsletterFunction.java:96)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin Quentin Glinel-Mortreuil (Inactive)
                Reporter:
                glefebvre Grégory Lefebvre (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: