You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Matthias Fesich <Ma...@ctp.com> on 2002/10/17 18:54:30 UTC
NullPointerException in JamesSpoolManager.run when getting
POP3 mail
Hi all,
I just installed James 2.0a3-cvs on my PC (Windows 2000), added a user and inserted the DNS server address into the config.xml. Starting up with run.bat is working fine, but as soon as I send myself an email to myuser@[<my_ip_adress] I get a NullPointerException in the JamesSpoolManager.run procedure (line 207, that's when the mail.getName() function is called:
MailImpl mail = spool.retrieve(key);
getLogger().info("==== Begin processing mail "
+ mail.getName() + " ====");
)
The following is the error stack:
java.lang.NullPointerException
at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:207)
at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:86)
The result is, that although the james.log tells me
'1034873030704 [INFO ] (James): Mail Mail1034873030494-0 pushed in spool'
there is no mail saved anywhere ...
The smtpserver.log looks alright, too:
1034873029963 [INFO ] (smtpserver): Connection from cpl-upo-mail1.cpl.xxx.com (143.2.74.57)
1034873030083 [INFO ] (smtpserver): Command received: EHLO cpl-emea-mail1.cpl.xxx.com
1034873030183 [INFO ] (smtpserver): Command received: MAIL FROM:<xx...@xxx.com>
1034873030283 [INFO ] (smtpserver): Command received: RCPT TO:<mf@[129.23.78.249]>
1034873030383 [INFO ] (smtpserver): Command received: DATA
1034873030704 [INFO ] (smtpserver): Mail sent to Mail Server
1034873030794 [INFO ] (smtpserver): Command received: QUIT
But the spoolmanager.log says:
1034872888169 [INFO ] (spoolmanager): run JamesSpoolManager: default Worker #10
1034872888179 [INFO ] (spoolmanager): spool=org.apache.james.mailrepository.AvalonSpoolRepository
1034873030734 [ERROR ] (spoolmanager): Exception in JamesSpoolManager.run null
As James is running everywhere else apparently ;-), I suppose it's a configuration problem or something. Can anybody offer any help?
Thanx in advance and
Bye,
Matthias
-> Matthias Fesich <-
/\/\ Cambridge Technology Partners
/ / \ (a division of Novell Inc.)
\ / / Monschauer Strasse 12
\/\/ 40549 Düsseldorf, Germany
Mobil: +49 (0)160 4756563
Email: matthias.fesich@ctp.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>