Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14554

Live Notifications aren't sent, error in the console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.7
    • 9.6-rc-1
    • Notifications
    • None
    • IE 11, local default standard version 9.6 RC1, tested also with MySQL database
    • Unknown
    • N/A
    • N/A

    Description

      Prerequisites: The Mail Sending should be properly configured and a user with an email in the profile needs to be used.
      Steps to reproduce:

      1. Log in as a simple user (with email address in the profile)
      2. Click on the bell in the top right corner
      3. Click on Settings, in the right side of Notifications
      4. Set ON all the options in the Email column
      5. Select Live notifications
      6. Log in with another user or with Admin
      7. Create/update/delete a page
      8. Comment in a page

      Expected results: An email is sent to the user that has the notifications set to ON, Live.

      Actual results: No email is received. There are allot of errors in the console.

      2017-07-19 10:36:04,237 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [bd65b681-fb77-4b32-b5e2-3351074e06ed]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:36:04,367 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [feb408d3-b3f5-41de-a10c-d84b7e317006]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:36:04,497 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [cda2a77f-2317-4c5a-aa29-3922adf9a3d2]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:36:04,632 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [12fdd305-dbf5-4bff-8547-1b6deeffe005]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:36:04,763 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [b6464b04-7f10-49d4-a6dc-9164debb349c]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:36:04,894 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [c0ff62d0-4a54-4e63-b9a9-d2a84eccff38]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:37:25,138 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [b424bd98-c1e4-4d12-b2b9-17453b325ad1]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:38:47,189 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [6758614e-c5b4-4886-8054-adcf2f0bd85a]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:38:47,323 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [1b1b9d8a-d87a-428e-a2c8-ab2bb2fa5322]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:40:48,076 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [73db53b0-709b-4044-ac1c-da0fb38c217f]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:41:17,023 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [e7ed37dd-01e4-49fe-ada0-71bbdcf5ea21]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:41:59,434 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [5c3621b6-03de-4283-83d2-9fb5858dbb1a]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:42:38,517 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [a3c47c0a-2e66-46b9-9cc5-597a0bb706a7]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:42:45,974 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [1f3a4be1-e037-4b64-a5c1-76f4012d8d13]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:42:50,512 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [96cc951e-4a67-4e32-94e3-24f240b60359]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:42:59,067 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [a875fc70-5a40-4f33-9cca-a8bd4d24ef14]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:43:03,865 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [dd6e43ef-cadb-4d08-8f10-9fb2c1dd15ad]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:43:25,364 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [20e2cde8-a954-442b-9221-36af0f3a892a]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:43:55,324 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [3cd26275-84ff-4763-b0b6-90ba4c0317ea]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:43:55,459 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [bda00468-22a5-40e1-a670-d400e40d27ab]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:44:02,023 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [385b0829-5f58-4a58-9e99-7bb87285ad65]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      2017-07-19 10:44:11,778 [Mail Prepare Thread] ERROR o.x.m.i.DatabaseMailListener   - Failure during preparation phase of thread [300e4e3b-5462-428c-9e17-8e32f93e3a72]
      java.lang.NullPointerException: null
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:214)
              at org.xwiki.notifications.internal.email.AbstractMimeMessageIterator.next(AbstractMimeMessageIterator.java:51)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:122)
              at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:78)
              at java.lang.Thread.run(Unknown Source)
      

      Attachments

        Activity

          People

            caubin Clément Aubin
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: