directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1404) NullPointerException when a client disconnects
Date Mon, 08 Mar 2010 12:05:27 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kiran Ayyagari resolved DIRSERVER-1404.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0-RC1)
                   1.5.6

Have placed a null check before processing the message in LdapRequestHandler.handleMessage().
Please reopen if this is not the right place or if [1] is not right fix

[1] http://svn.apache.org/viewvc?rev=920285&view=rev

> 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
>            Assignee: Kiran Ayyagari
>            Priority: Minor
>             Fix For: 1.5.6
>
>
> 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