James Server
  1. James Server
  2. JAMES-267

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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();

        Activity

          People

          • Assignee:
            Steve Brewin
            Reporter:
            Noel J. Bergman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development