Got again a Nullpointer..

is there no solution to store the email that do this ?


17/02/06 18:27:43 INFO  James.Mailet: RemoteDelivery: Exception caught
in RemoteDelivery.run()
java.lang.NullPointerException
        at
com.sun.mail.smtp.SMTPTransport.convertTo8Bit(SMTPTransport.java:702)
        at
com.sun.mail.smtp.SMTPTransport.convertTo8Bit(SMTPTransport.java:712)
        at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:521)
        at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:533)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1083)
        at java.lang.Thread.run(Thread.java:595)


Its quite hard to debug if the email is gone :-(

bye


Am Dienstag, den 14.02.2006, 14:03 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > But why not put the message to the error-processor so it wold be easier
> > to trigger such errors.
> 
> Is not so easy: read the comment of the catch.
> 
> Eg: Now the NPE is a bug in javamail, but we can't know what to do: if 
> the NPE was from the "store" of the repository then storing the message 
> in the error-processor would end in an infinite loop.
> 
> We probably should change our behaviour only when the exception is 
> caused by the "delivery" call.
> 
> I'll try to put in this improvement for 2.3.0a2. But I would also like 
> to find out the NPE problem while working on that code.
> 
> Stefano
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to