Hmmm... can you include more of the stack trace?  Also, do you know what
version you are running against?  My copy of the code shows line 165 to be a
catch statement, so I'm not sure how that could have generated a
NullPointerException.  Feel free to e-mail me directly if necessary.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "craig clow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 1:45 PM
Subject: NullPointerException loading my mailet


> I get the following stack trace when I try to load my own GenericMailet
class.
> I believe my classpath and <mailetpackage> are correct because I can see
> that it is calling my init() routine when I start James. Things work fine
> with the RemoteDelivery class, but when I replace it with mine I get a
> NullPointerException on all incoming emails that get redirected to my
mailet
> match and class.
>
> Any suggestions would be greatly appreciated!
>
>
>         at
org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
> java.lang.NullPointerException
>         at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManage
> r.java:165)
>         at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.ja
> va:141)
>         at
org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
> java.lang.NullPointerException
>         at
>




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to