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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2006/10/28 12:40:16 UTC
[jira] Created: (JAMES-669) ImapServer sometimes throws Nullpointer
ImapServer sometimes throws Nullpointer
---------------------------------------
Key: JAMES-669
URL: http://issues.apache.org/jira/browse/JAMES-669
Project: James
Issue Type: Bug
Components: IMAPServer
Reporter: Norman Maurer
Stacktrace:
28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
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:110)
at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
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
[jira] Commented: (JAMES-669) ImapServer sometimes throws
Nullpointer
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-669?page=comments#action_12450051 ]
Stefano Bagnara commented on JAMES-669:
---------------------------------------
I applied JAMES-689.
Norman can you check if you still get this error?
> ImapServer sometimes throws Nullpointer
> ---------------------------------------
>
> Key: JAMES-669
> URL: http://issues.apache.org/jira/browse/JAMES-669
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Norman Maurer
> Assigned To: Joachim Draeger
>
> Stacktrace:
> 28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
> 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:110)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
> 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
[jira] Commented: (JAMES-669) ImapServer sometimes throws
Nullpointer
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-669?page=comments#action_12445378 ]
Norman Maurer commented on JAMES-669:
-------------------------------------
Ok the NPE is thrown cause it extends AbstractLogEnabled but no logger is init for the class via ContainerUtil. I saw that a costum AbstractLogEnabled was created but this resist in the mailboxmanger.util package. So what todo ?
IT also only happen if debug is enabled.
> ImapServer sometimes throws Nullpointer
> ---------------------------------------
>
> Key: JAMES-669
> URL: http://issues.apache.org/jira/browse/JAMES-669
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Norman Maurer
>
> Stacktrace:
> 28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
> 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:110)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
> 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
[jira] Commented: (JAMES-669) ImapServer sometimes throws
Nullpointer
Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-669?page=comments#action_12449162 ]
Robert Burrell Donkin commented on JAMES-669:
---------------------------------------------
This may well be fixed by https://issues.apache.org/jira/browse/JAMES-689
> ImapServer sometimes throws Nullpointer
> ---------------------------------------
>
> Key: JAMES-669
> URL: http://issues.apache.org/jira/browse/JAMES-669
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Norman Maurer
> Assigned To: Joachim Draeger
>
> Stacktrace:
> 28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
> 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:110)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
> 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
[jira] Resolved: (JAMES-669) ImapServer sometimes throws
Nullpointer
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-669?page=all ]
Norman Maurer resolved JAMES-669.
---------------------------------
Fix Version/s: Next Major
Resolution: Fixed
Seems to be fixed
> ImapServer sometimes throws Nullpointer
> ---------------------------------------
>
> Key: JAMES-669
> URL: http://issues.apache.org/jira/browse/JAMES-669
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Norman Maurer
> Assigned To: Joachim Draeger
> Fix For: Next Major
>
>
> Stacktrace:
> 28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
> 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:110)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
> 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
[jira] Assigned: (JAMES-669) ImapServer sometimes throws
Nullpointer
Posted by "Joachim Draeger (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-669?page=all ]
Joachim Draeger reassigned JAMES-669:
-------------------------------------
Assignee: Joachim Draeger
> ImapServer sometimes throws Nullpointer
> ---------------------------------------
>
> Key: JAMES-669
> URL: http://issues.apache.org/jira/browse/JAMES-669
> Project: James
> Issue Type: Bug
> Components: IMAPServer
> Reporter: Norman Maurer
> Assigned To: Joachim Draeger
>
> Stacktrace:
> 28/10/06 12:10:58 ERROR imapserver: Exception on connection from IP-213188098238.dialin.heagmedianet.de (213.188.98.238) : null
> 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:110)
> at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:63)
> at org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:235)
> at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
> 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