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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: FetchMail
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: