Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-267

NullPointerException in Fetchmail when there are no From: or Sender: headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • FetchMail
    • None

    Description

      java.lang.NullPointerException
      at MessageProcessor.getSender(MessageProcessor.java:645)
      at MessageProcessor.createMail(MessageProcessor.java:597)

      The code is:

      String from =
      ((InternetAddress) getMessageIn().getFrom()[0]).getAddress().trim();

      Attachments

        Activity

          People

            sbrewin@apache.org Steve Brewin
            noel Noel J. Bergman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: