Uploaded image for project: 'Exchange'
  1. Exchange
  2. EXCHANGE-21

Unable to display last 10 unread emails when one of them doesn't have a sender

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.17.0
    • None
    • None
    • 4.8.0 M2

      Steps to reproduce bug:

      • Configure Ametys with an Exchange server/account
      • Find a way to make a user have an unread message with no sender in his inbox
      • Load a page which contains an email notification badge

      Error log : 

      Caused by: java.lang.NullPointerException: Cannot invoke "microsoft.exchange.webservices.data.property.complex.EmailAddress.getAddress()" because the return value of "microsoft.exchange.webservices.data.core.service.item.EmailMessage.getSender()" is null
      at org.ametys.plugins.exchange.EWSConnector.internalGetEmails(EWSConnector.java:380)
      ... 115 more

       

            raphael Raphaël Franchet
            jhawken James Hawken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: