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 "Joachim Draeger (JIRA)" <se...@james.apache.org> on 2006/11/19 10:08:42 UTC
[jira] Assigned: (JAMES-707) [PATCH] Fix for NullPointerException
in SimpleMessageAttributes
[ http://issues.apache.org/jira/browse/JAMES-707?page=all ]
Joachim Draeger reassigned JAMES-707:
-------------------------------------
Assignee: Joachim Draeger
> [PATCH] Fix for NullPointerException in SimpleMessageAttributes
> ---------------------------------------------------------------
>
> Key: JAMES-707
> URL: http://issues.apache.org/jira/browse/JAMES-707
> Project: James
> Issue Type: Bug
> Affects Versions: Trunk
> Reporter: Robert Burrell Donkin
> Assigned To: Joachim Draeger
> Attachments: james-imap-null-pointer.patch, james-imap-null-pointer.patch
>
>
> logger is not set on SimpleMessageAttributes. whenever a message has to be logged (for example, when there is an issue loading a mime part) this results in a null pointer with the stack trace below
> java.lang.NullPointerException
> at org.apache.james.imapserver.store.SimpleMessageAttributes.parseMimePart(SimpleMessageAttributes.java:248)
> at org.apache.james.imapserver.store.SimpleMessageAttributes.setAttributesFor(SimpleMessageAttributes.java:115)
> at org.apache.james.imapserver.store.SimpleMessageAttributes.<init>(SimpleMessageAttributes.java:100)
> at org.apache.james.imapserver.commands.FetchCommand.outputMessage(FetchCommand.java:154)
> at org.apache.james.imapserver.commands.FetchCommand.doProcess(FetchCommand.java:102)
> 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:129)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:74)
> at org.apache.james.imapserver.ImapHandler.handleNextRequest(ImapHandler.java:297)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:244)
> 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)
--
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