I got it with the stack trace! here it goes:
17/06/03 17:45:52 INFO James.Mailet: RemoteDelivery: Exception caught in
RemoteDelivery.run()
java.lang.NullPointerException
at org.apache.james.dnsserver.DNSServer.processSetResponse(DNSServer.java:342)
at org.apache.james.dnsserver.DNSServer.rawDNSLookup(DNSServer.java:324)
at org.apache.james.dnsserver.DNSServer.lookup(DNSServer.java:267)
at org.apache.james.dnsserver.DNSServer.findMXRecords(DNSServer.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
at $Proxy0.findMXRecords(Unknown Source)
at org.apache.james.James.getMailServers(James.java:616)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
at $Proxy9.getMailServers(Unknown Source)
at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:288)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:797)
at java.lang.Thread.run(Thread.java:536)
I would keep this log change to RemoteDelivery.run(), what do you think?
Vincenzo
-----Original Message-----
From: Vincenzo Gianferrari Pini
[mailto:[EMAIL PROTECTED]
Sent: marted� 17 giugno 2003 17.48
To: James Developers List
Subject: RE: Exception caught in RemoteDelivery.run():
java.lang.NullPointerException
Noel, I'll do now a reply to this message and see if it causes a NPE, generating the
stacktrace after the small change. If this is the first line of the message it means
that it went through without an NPE, otherwise I will forward it with the stacktrace
(I feel a little bit stupid ...).
Vincenzo
> -----Original Message-----
> From: Vincenzo Gianferrari Pini
> [mailto:[EMAIL PROTECTED]
> Sent: marted� 17 giugno 2003 17.28
> To: List James-Dev
> Subject: FW: Exception caught in RemoteDelivery.run():
> java.lang.NullPointerException
>
>
> It happened again, sending this message. It's the first after my
> first posting.
>
> Vincenzo
>
> -----Original Message-----
> From: Vincenzo Gianferrari Pini
> [mailto:[EMAIL PROTECTED]
> Sent: marted� 17 giugno 2003 17.26
> To: James Developers List
> Subject: RE: Exception caught in RemoteDelivery.run():
> java.lang.NullPointerException
>
>
> Noel,
>
> I could change
>
> } catch (Throwable e) {
> if (!destroyed) log("Exception caught in
> RemoteDelivery.run(): " + e);
> }
>
> to
>
> } catch (Throwable e) {
> if (!destroyed) log("Exception caught in
> RemoteDelivery.run()", e);
> }
>
> in RemoteDelivery.run() and wait for another NPE.
>
> What do you think?
>
> Vincenzo
>
> > -----Original Message-----
> > From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
> > Sent: marted� 17 giugno 2003 17.10
> > To: James Developers List
> > Subject: RE: Exception caught in RemoteDelivery.run():
> > java.lang.NullPointerException
> >
> >
> > > Exception caught in RemoteDelivery.run():
> java.lang.NullPointerException
> >
> > Can you provide a stack trace? I'm not spotting anything obvious
> > in recent
> > changes that would cause an NPE in run(), but I'll look more closely.
> >
> > > Strangely, It occurred to me three times while sending messages
> > > *to this list* (I had to resend it), and only to another message
> > > sent by someone else to a long list of recipients in different
> > > domains
> >
> > I wonder if there is an error in the DNSServer change.
> >
> > --- 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]