Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1158

NPE sending mail fetched from IMAP server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Trunk, 3.0-beta3
    • Fix Version/s: 3.0-beta3
    • Component/s: FetchMail
    • Labels:
      None
    • Environment:
      Mac Snow Leopard

      Description

      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 '*@loggy.me' in folder 'INBOX'
      jvm 1 | INFO 22:14:29,378 | james.fetchmail | Ignoring recipient header. Using configured recipient as new envelope recipient: postmaster@localhost. Message ID: <35F9D89D-88E5-430B-B249-AA46E52D65C1@gmail.com>. Flags: Seen = true, Delete = false.
      jvm 1 | ERROR 22:14:31,350 | james.fetchmail | Exception processing message ID: <35F9D89D-88E5-430B-B249-AA46E52D65C1@gmail.com>
      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: postmaster@localhost. Message ID: <BDC11439-51C3-40F6-96FB-C366F28A3C75@gmail.com>. Flags: Seen = true, Delete = false.
      jvm 1 | ERROR 22:14:33,977 | james.fetchmail | Exception processing message ID: <BDC11439-51C3-40F6-96FB-C366F28A3C75@gmail.com>
      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 '*@loggy.me' in folder 'INBOX'
      jvm 1 | INFO 22:14:35,036 | james.fetchmail | Fetcher completed fetches

        Attachments

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              kievbs Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: