You are using AvalonMailRepository, yes? Please look at the code:
MailImpl mc = null;
try {
mc = (MailImpl) or.get(key);
} catch (RuntimeException re) {
getLogger().error("Exception retrieving mail: " + re + ", so we're
deleting it... good ridance!");
remove(key);
return null;
}
Is there something logged about the exception? THAT seems to be the root
cause, but it won't appear in a stack trace.
--- Noel
-----Original Message-----
From: Andrei A. Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 4:44
To: James Developers List
Subject: Same exception for JamesSpoolManager
Which I had often for older versions of James still comes for latest James
from cvs (see below)
This is when it gets name of mail. How to fix that, any ideas?
Andrei
java.lang.NullPointerException
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.NullPointerException
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.NullPointerException
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.NullPointerException
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.NullPointerException
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.NullPointerException
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>