On Tue, 9 Oct 2001, Adam Smith wrote:
> I was writing a short mailet this morning and in the process of debugging
> it, I began seeing this in the mailet.log file a few thousand times a
> minute:
> 
> 2001.10.09 09:30:00 631 (INFO) from Mailets: RemoteDelivery: Exception
> caught in RemoteDelivery.run(): java.lang.NullPointerException

I think you could try to remove the definition of your mailet in
config.xml, and see if James still has the above log lines. If you see
them no more, then it is quite possible that your mailet generates the
error.

BTW, if your mailet is intended as the "last" mailet (ie: just like
RemoteDelivery, and unlike NotifyPostmaster), you don't set the MailImpl
passed in to the service() method to null, set it to "ghost"
(mail.setState(Mail.GHOST).

Oki
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to