NPE sending mail fetched from IMAP server
-----------------------------------------

                 Key: JAMES-1158
                 URL: https://issues.apache.org/jira/browse/JAMES-1158
             Project: JAMES Server
          Issue Type: Bug
          Components: FetchMail
    Affects Versions: 3.0-M3, Trunk
         Environment: Mac Snow Leopard
            Reporter: Alex
            Priority: Critical


I'm testing FetchMail: set up IMAP account and forwarding all mails to local 
mail account. 

Details below:

jvm 1    | INFO  22:14:25,223 | james.fetchmail | Fetcher starting fetches
jvm 1    | INFO  22:14:25,225 | james.fetchmail | Processing 1 static accounts 
and 0 dynamic accounts.
jvm 1    | INFO  22:14:25,225 | james.fetchmail | Starting fetching mail from 
server 'imap.1and1.com' for user '*[email protected]' in folder 'INBOX'
jvm 1    | INFO  22:14:29,378 | james.fetchmail | Ignoring recipient header. 
Using configured recipient as new envelope recipient: postmas...@localhost. 
Message ID: <[email protected]>. Flags: Seen = 
true, Delete = false.
jvm 1    | ERROR 22:14:31,350 | james.fetchmail | Exception processing message 
ID: <[email protected]>
jvm 1    | java.lang.NullPointerException
jvm 1    |      at 
org.apache.james.fetchmail.MessageProcessor.sendMail(MessageProcessor.java:959)
jvm 1    |      at 
org.apache.james.fetchmail.MessageProcessor.process(MessageProcessor.java:408)
jvm 1    |      at 
org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:96)
jvm 1    |      at 
org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:84)
jvm 1    |      at org.apache.james.fetchmail.FetchMail.run(FetchMail.java:548)
jvm 1    |      at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
jvm 1    |      at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
jvm 1    |      at 
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
jvm 1    |      at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
jvm 1    |      at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
jvm 1    |      at java.lang.Thread.run(Thread.java:680)
jvm 1    | INFO  22:14:32,174 | james.fetchmail | Ignoring recipient header. 
Using configured recipient as new envelope recipient: postmas...@localhost. 
Message ID: <[email protected]>. Flags: Seen = 
true, Delete = false.
jvm 1    | ERROR 22:14:33,977 | james.fetchmail | Exception processing message 
ID: <[email protected]>
jvm 1    | java.lang.NullPointerException
jvm 1    |      at 
org.apache.james.fetchmail.MessageProcessor.sendMail(MessageProcessor.java:959)
jvm 1    |      at 
org.apache.james.fetchmail.MessageProcessor.process(MessageProcessor.java:408)
jvm 1    |      at 
org.apache.james.fetchmail.FolderProcessor.process(FolderProcessor.java:96)
jvm 1    |      at 
org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:84)
jvm 1    |      at org.apache.james.fetchmail.FetchMail.run(FetchMail.java:548)
jvm 1    |      at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
jvm 1    |      at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
jvm 1    |      at 
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
jvm 1    |      at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
jvm 1    |      at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
jvm 1    |      at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
jvm 1    |      at java.lang.Thread.run(Thread.java:680)
jvm 1    | INFO  22:14:34,625 | james.fetchmail | Processed 0 messages of 2 in 
folder 'INBOX'
jvm 1    | INFO  22:14:35,036 | james.fetchmail | Finished fetching mail from 
server 'imap.1and1.com' for user '*[email protected]' in folder 'INBOX'
jvm 1    | INFO  22:14:35,036 | james.fetchmail | Fetcher completed fetches


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to