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 22:56:53 UTC

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

Message:

   The following issue has been closed.

   Resolver: Steve Brewin
       Date: Thu, 22 Apr 2004 1:56 PM

Fix applied by Noel does the job. Thanks!
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

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

   Assignee: Steve Brewin
   Reporter: Noel J. Bergman

    Created: Wed, 21 Apr 2004 5:15 PM
    Updated: Thu, 22 Apr 2004 1:56 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