Issue Details (XML | Word | Printable)

Key: JAMES-625
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Norman Maurer
Reporter: davide.bz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JAMES Server

an emoty mbox will cause an error at pop3 login

Created: 20/Sep/06 09:34 AM   Updated: 21/Nov/07 08:31 AM
Return to search
Component/s: POP3Server
Affects Version/s: None
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

Environment: linux jdk1.5

Resolution Date: 06/Oct/06 05:14 PM


 Description  « Hide
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)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Stefano Bagnara added a comment - 20/Sep/06 09:45 AM
What version of James are you testing? James 2.2.0 ? 2.3.0rc3 ? trunk?

davide.bz added a comment - 20/Sep/06 09:53 AM
James 2.2.0

Norman Maurer added a comment - 27/Sep/06 08:07 PM
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.

Norman Maurer added a comment - 06/Oct/06 04:41 PM
just test it with 2.3rc4. Same here!

Norman Maurer made changes - 06/Oct/06 04:41 PM
Field Original Value New Value
Fix Version/s 2.3.0 [ 12312049 ]
Norman Maurer added a comment - 06/Oct/06 04:49 PM
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)

Norman Maurer made changes - 06/Oct/06 04:49 PM
Assignee Norman Maurer [ norman ]
Repository Revision Date User Message
ASF #453684 Fri Oct 06 17:12:09 UTC 2006 norman Fix nullpointer if mbox is not created and accessed via pop3. See JAMES-625
Files Changed
MODIFY /james/server/trunk/src/java/org/apache/james/mailrepository/MBoxMailRepository.java

Repository Revision Date User Message
ASF #453686 Fri Oct 06 17:14:30 UTC 2006 norman Fix nullpointer if mbox is not created and accessed via pop3. See JAMES-625
Files Changed
MODIFY /james/server/branches/v2.3/src/java/org/apache/james/mailrepository/MBoxMailRepository.java

Norman Maurer added a comment - 06/Oct/06 05:14 PM
thx for reporting!

Norman Maurer made changes - 06/Oct/06 05:14 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Danny Angus added a comment - 21/Nov/07 08:31 AM
Closing issue fixed in released version.

Danny Angus made changes - 21/Nov/07 08:31 AM
Status Resolved [ 5 ] Closed [ 6 ]