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

NPE during 8bit conversion of non-mime messages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Remote Delivery
    • Labels:
      None

      Description

      Just sending a message with no mime informations:
      ---------------
      Received: from localhost ([127.0.0.1])
      by BAGOMIPS (JAMES SMTP Server 2.3-dev) with SMTP ID 254;
      Sat, 3 Sep 2005 18:23:04 +0200 (CEST)
      Subject: test
      Date: Sat, 3 Sep 2005 18:23:04 +0200 (CEST)
      From: test@test.org

      test
      .
      -----------
      03/09/05 18:23:07 INFO James.Mailet: RemoteDelivery: Exception caught in RemoteDelivery.run()
      java.lang.NullPointerException
      at com.sun.mail.smtp.SMTPTransport.convertTo8Bit(SMTPTransport.java:702)
      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:521)
      at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:521)
      at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1050)
      at java.lang.Thread.run(Thread.java:534)
      -----------

        Attachments

        1. patch.txt
          3 kB
          Mirko Montanari

          Activity

            People

            • Assignee:
              bago Stefano Bagnara
              Reporter:
              bago Stefano Bagnara
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: