James Server
  1. James Server
  2. JAMES-133

NullPointerException at org.apache.james.mailrepository.AvalonMailRepository.store

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2.0
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      Sun JDK 1.4.2_01

      I send a message to a single reciepient, with no subject and with a single
      attachment. With Norton AntiVirus checking outgoing mail, I get the following
      exception. With it disabled, the problem goes away. Since I am able to reproduce
      the problem easily I'd like your cooperation in closing this issue quickly.

      java.lang.NullPointerException
      at
      org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailRepository.java:278)
      at org.apache.james.James.sendMail(James.java:444)
      at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at
      org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
      at $Proxy9.sendMail(Unknown Source)
      at org.apache.james.smtpserver.SMTPHandler.processMail(SMTPHandler.java:1353)
      at org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1200)
      at org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:560)
      at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:337)
      at
      org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:404)
      at
      org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
      at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)

        Activity

        Hide
        Serge Knystautas added a comment -

        Committed 10/19/2003 by Noel, included in 2.2.0a14.

        Show
        Serge Knystautas added a comment - Committed 10/19/2003 by Noel, included in 2.2.0a14.
        Hide
        Noel J. Bergman added a comment -

        Please do not use the issue tracker for a discussion mechanism.

        You can search the mailing list archives, or the web, for problems related to
        Norton AntiVirus causing problems with e-mail delivery. Generally, these are
        timeout problems related to scanning attachments.

        Show
        Noel J. Bergman added a comment - Please do not use the issue tracker for a discussion mechanism. You can search the mailing list archives, or the web, for problems related to Norton AntiVirus causing problems with e-mail delivery. Generally, these are timeout problems related to scanning attachments.
        Hide
        Gili added a comment -

        Two questions:

        1) Where is this well documented?
        2) In what way will it interfer? I don't see anything wrong with it as long as
        it doesn't violate any protocol standards.

        In other words, I'm trying to ascertain whether Norton Antivirus has a bug or
        it just leads to a condition we did not consider.

        Show
        Gili added a comment - Two questions: 1) Where is this well documented? 2) In what way will it interfer? I don't see anything wrong with it as long as it doesn't violate any protocol standards. In other words, I'm trying to ascertain whether Norton Antivirus has a bug or it just leads to a condition we did not consider.
        Hide
        Noel J. Bergman added a comment -

        Fixed in CVS. However, the fix is to eliminate the NPE. Norton is probably
        going to still interfer with your e-mail transfer, which is a fairly well-
        documented problem.

        Show
        Noel J. Bergman added a comment - Fixed in CVS. However, the fix is to eliminate the NPE. Norton is probably going to still interfer with your e-mail transfer, which is a fairly well- documented problem.

          People

          • Assignee:
            Noel J. Bergman
            Reporter:
            Gili
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development