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

an emoty mbox will cause an error at pop3 login

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: POP3Server
    • Labels:
      None
    • Environment:
      linux jdk1.5

      Description

      I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

        Activity

        Hide
        danny@apache.org Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        danny@apache.org Danny Angus added a comment - Closing issue fixed in released version.
        Hide
        norman Norman Maurer added a comment -

        thx for reporting!

        Show
        norman Norman Maurer added a comment - thx for reporting!
        Hide
        norman Norman Maurer added a comment -

        Here is the stacktrace:

        06/10/06 18:40:28 ERROR pop3server: Exception during connection from localhost (127.0.0.1) : null
        java.lang.NullPointerException
        at org.apache.james.mailrepository.MBoxMailRepository.list(MBoxMailRepository.java:546)
        at org.apache.james.pop3server.POP3Handler.stat(POP3Handler.java:395)
        at org.apache.james.pop3server.POP3Handler.doPASS(POP3Handler.java:545)
        at org.apache.james.pop3server.POP3Handler.parseCommand(POP3Handler.java:477)
        at org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:275)
        at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:422)
        at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
        at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)

        Show
        norman Norman Maurer added a comment - Here is the stacktrace: 06/10/06 18:40:28 ERROR pop3server: Exception during connection from localhost (127.0.0.1) : null java.lang.NullPointerException at org.apache.james.mailrepository.MBoxMailRepository.list(MBoxMailRepository.java:546) at org.apache.james.pop3server.POP3Handler.stat(POP3Handler.java:395) at org.apache.james.pop3server.POP3Handler.doPASS(POP3Handler.java:545) at org.apache.james.pop3server.POP3Handler.parseCommand(POP3Handler.java:477) at org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:275) at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:422) at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55) at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
        Hide
        norman Norman Maurer added a comment -

        just test it with 2.3rc4. Same here!

        Show
        norman Norman Maurer added a comment - just test it with 2.3rc4. Same here!
        Hide
        norman Norman Maurer added a comment -

        Please test it with latest 2.3.0 release and report if the problem still exits. 2.3.0 will be released soon. You can get the latest "release canidat" from: http://people.apache.org/dist/james/

        Im almost sure this bug is fixed in 2.3.0.

        Show
        norman Norman Maurer added a comment - Please test it with latest 2.3.0 release and report if the problem still exits. 2.3.0 will be released soon. You can get the latest "release canidat" from: http://people.apache.org/dist/james/ Im almost sure this bug is fixed in 2.3.0.
        Hide
        davide.bz davide.bz added a comment -

        James 2.2.0

        Show
        davide.bz davide.bz added a comment - James 2.2.0
        Hide
        bago Stefano Bagnara added a comment -

        What version of James are you testing? James 2.2.0 ? 2.3.0rc3 ? trunk?

        Show
        bago Stefano Bagnara added a comment - What version of James are you testing? James 2.2.0 ? 2.3.0rc3 ? trunk?

          People

          • Assignee:
            norman Norman Maurer
            Reporter:
            davide.bz davide.bz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development