directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Benckhuijsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1404) NullPointerException when a client disconnects
Date Tue, 16 Feb 2010 20:01:28 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834420#action_12834420
] 

Jeroen Benckhuijsen commented on DIRSERVER-1404:
------------------------------------------------

This exception doesn't seem to show up in the logging when I configure log4j with:

log4j.logger.org.apache.directory.server.core.authn=DEBUG


> NullPointerException when a client disconnects
> ----------------------------------------------
>
>                 Key: DIRSERVER-1404
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1404
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.5
>            Reporter: Kiran Ayyagari
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> When a client disconnects the following exception is showing up in the server console's
stdout
> (It is unclear to me atm whether we should add a check for null session in LdapRequestHandler.handleMessage()
or we can handle it in a better way before reaching the LdapRequestHandler)
> java.lang.NullPointerException
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:129)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
> 	at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
> 	at java.lang.Thread.run(Thread.java:595)
> Null LdapSession given to cleanUpSession.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message