• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 2.0.0
    • 2.0.0
    • None

      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)
      

          [NEWSLETTER-246] Can't send a newsletter : NPE

          Grégory Lefebvre (Inactive) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Link New: This issue Duplique NEWSLETTER-245 [ NEWSLETTER-245 ]
          Laurence Aumeunier made changes -
          Assignee New: Quentin Glinel-Mortreuil [ quentin ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 2.0.0 [ 12895 ]
          Grégory Lefebvre (Inactive) made changes -
          Description Original: When validating a newsletter, the newsletter is not send. Instead, you can see in the logs of the application :
          {quote}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)
          {quote}
          New: When validating a newsletter, the newsletter is not send. Instead, you can see in the logs of the application :
          {code}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)
          {code}
          Grégory Lefebvre (Inactive) made changes -
          Description Original: When validating a newsletter, the newsletter is not send. Instead, you can see in the logs of the application :
          {code}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)
          {code}
          New: When validating a newsletter, the newsletter is not send. Instead, you can see in the logs of the application :
          {quote}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)
          {quote}
          Grégory Lefebvre (Inactive) created issue -

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

              Created:
              Updated:
              Resolved: