You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2006/11/13 22:20:41 UTC
[jira] Updated: (JAMES-690) Improve reporting for unimplementation
torquemailbox method
[ http://issues.apache.org/jira/browse/JAMES-690?page=all ]
Robert Burrell Donkin updated JAMES-690:
----------------------------------------
Attachment: james-torque-reporting.patch
Patch adds logging and return empty results to avoid null pointer from unimplemented method
> Improve reporting for unimplementation torquemailbox method
> -----------------------------------------------------------
>
> Key: JAMES-690
> URL: http://issues.apache.org/jira/browse/JAMES-690
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Robert Burrell Donkin
> Priority: Minor
> Attachments: james-torque-reporting.patch
>
>
> TorqueMailbox, public MessageResult[] search(GeneralMessageSet set, SearchTerm searchTerm, int result) is unimplementation but produces a null pointer exception in SearchCommand when called:
> java.lang.NullPointerException
> at org.apache.james.imapserver.commands.SearchCommand.doProcess(SearchCommand.java:80)
> at org.apache.james.imapserver.commands.UidCommand.doProcess(UidCommand.java:53)
> at org.apache.james.imapserver.commands.CommandTemplate.process(CommandTemplate.java:66)
> at org.apache.james.imapserver.ImapRequestHandler.doProcessRequest(ImapRequestHandler.java:126)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:73)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:243)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:468)
> at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
> at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
> IMHO clearer to log and return empty results array
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org