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] [Commented] (DIRSERVER-1908) Connection lost when use persistent search and move entry in ApacheDS
Date Sun, 17 Nov 2013 15:35:22 GMT

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

Kiran Ayyagari commented on DIRSERVER-1908:
-------------------------------------------

I have tested this by moving an entry as described while the attached program was running
but there was no NPE as reported in this.

Below shown is the output of the program (added 100+ entries and moved 5 entries)

LDAP_ADD
got result
LDAP_ADD
got result
LDAP_MODIFYKEY
got result
LDAP_MODIFYKEY
got result
LDAP_MODIFYKEY
got result
LDAP_MODIFYKEY
got result
LDAP_MODIFYKEY


> Connection lost when use persistent search and move entry in ApacheDS
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1908
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1908
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M14
>         Environment: Windows 7 Professional 32-bit, Inter Core i3-2310,4GB Memory
>            Reporter: Robert Hou
>         Attachments: NetscapeLdapSdk.jar, TestPersistenterSearch.java
>
>
> Step:
> 1.Do persistent search with ApacheDS.
> 2.Move one entry(InetorgPerson) from one ou to another ou in ApacheDS.
> Actual Result(from Apache Console):
> [10:17:10] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected exception
forcing session to close: sending disconnect notice to client.
> org.apache.mina.filter.codec.ProtocolEncoderException: java.lang.NullPointerException
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:339)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:482)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1400(DefaultIoFilterChain.java:47)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:775)
> 	at org.apache.mina.filter.executor.ExecutorFilter.filterWrite(ExecutorFilter.java:614)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:482)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1400(DefaultIoFilterChain.java:47)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:775)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.filterWrite(DefaultIoFilterChain.java:705)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:482)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterWrite(DefaultIoFilterChain.java:475)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:494)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:439)
> 	at org.apache.directory.server.ldap.handlers.PersistentSearchListener.entryMoved(PersistentSearchListener.java:194)
> 	at org.apache.directory.server.core.event.EventInterceptor$4.run(EventInterceptor.java:171)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> 	at org.apache.directory.api.ldap.codec.decorators.SearchResultEntryDecorator.computeLength(SearchResultEntryDecorator.java:308)
> 	at org.apache.directory.api.ldap.codec.api.LdapEncoder.computeMessageLength(LdapEncoder.java:247)
> 	at org.apache.directory.api.ldap.codec.api.LdapEncoder.encodeMessage(LdapEncoder.java:159)
> 	at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:71)
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:308)
> 	... 17 more



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message