You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ji...@apache.org on 2004/04/22 02:24:53 UTC

[jira] Assigned: (JAMES-267) NullPointerException in Fetchmail when there are no From: or Sender: headers

Message:

   The following issue has been re-assigned.

   Assignee: Steve Brewin (mailto:sbrewin@apache.org)
   Assigner: Noel J. Bergman (mailto:noel@devtech.com)
       Date: Wed, 21 Apr 2004 5:24 PM
    Comment:
Steve, would you please review the fix I committed, and close this issue if you concur?
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-267

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-267
    Summary: NullPointerException in Fetchmail when there are no From: or Sender: headers
       Type: Bug

     Status: Open
   Priority: Major

    Project: James
 Components: 
             FetchMail
   Fix Fors:
             2.2.0RC1
   Versions:
             2.2.0RC1

   Assignee: Steve Brewin
   Reporter: Noel J. Bergman

    Created: Wed, 21 Apr 2004 5:15 PM
    Updated: Wed, 21 Apr 2004 5:24 PM

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();



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org