a JIRA? Yes, I definitely understand the need for details next time. Thanks. :)
Michael -----Original Message----- From: Noel J. Bergman [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 10:08 AM To: James Users List Subject: RE: NullPointer Exception (in Fetchmail) > > java.lang.NullPointerException > > at > > org...fetchmail.MessageProcessor.getSender(MessageProcessor.java:645) > > at > > org...fetchmail.MessageProcessor.createMail(MessageProcessor.java:597) > Details? What version of James, Fetchmail configuration information, etc? The code is: 645 String from = 646 ((InternetAddress) getMessageIn().getFrom()[0]).getAddress().trim(); So it appears that you are using a recent test build. My guess is that the message does not have either a From: or Sender header (q.v. http://java.sun.com/products/javamail/1.3/docs/javadocs/javax/mail/internet/ MimeMessage.html#getFrom()) Looks like we should have a check for that possibility, and perhaps allow you to assign a sender, e.g., [EMAIL PROTECTED], when a valid sender is not present. Steve Brewin will likely take a closer look soon. Please create a JIRA issue for this problem. --- Noel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
