directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FC-67) Fix config switch for slapd attributes
Date Mon, 23 Feb 2015 16:36:12 GMT

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

Shawn McKinney resolved FC-67.
------------------------------
    Resolution: Fixed

#1 is fixed, #2 is not

> Fix config switch for slapd attributes
> --------------------------------------
>
>                 Key: FC-67
>                 URL: https://issues.apache.org/jira/browse/FC-67
>             Project: FORTRESS
>          Issue Type: Bug
>    Affects Versions: 1.0.0-RC39
>            Reporter: Shawn McKinney
>             Fix For: 1.0.0-RC40
>
>
> This problem is two-fold:
> 1. Fortress Core does not correctly set the attribute name list for search.  Ensure the
attr list does not include slapd params for apacheds server.
> 2. The apache directory api throws a null ptr.  The api should handle this problem. 
TODO, add this to dir api issue list:
> main (WARN ) java.lang.NullPointerException
> org.apache.mina.filter.codec.ProtocolEncoderException: java.lang.NullPointerException
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:337)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:625)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1500(DefaultIoFilterChain.java:48)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:953)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.filterWrite(DefaultIoFilterChain.java:877)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:625)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterWrite(DefaultIoFilterChain.java:618)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:502)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:447)
> 	at org.apache.directory.ldap.client.api.LdapNetworkConnection.writeRequest(LdapNetworkConnection.java:4027)
> 	at org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1742)
> 	at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1768)
> 	at org.apache.directory.fortress.core.ldap.ApacheDsDataProvider.search(ApacheDsDataProvider.java:791)
> 	at org.apache.directory.fortress.core.rbac.UserDAO.findUsers(UserDAO.java:1056)
> 	at org.apache.directory.fortress.core.rbac.UserP.search(UserP.java:86)
> 	at org.apache.directory.fortress.core.rbac.ReviewMgrImpl.findUsers(ReviewMgrImpl.java:295)
> 	at org.apache.directory.fortress.core.ReviewMgrConsole.findUsers(ReviewMgrConsole.java:211)
> 	at org.apache.directory.fortress.core.ProcessMenuCommand.processReviewFunction(ProcessMenuCommand.java:606)
> 	at org.apache.directory.fortress.core.ProcessMenuCommand.processRbacControl(ProcessMenuCommand.java:92)
> 	at org.apache.directory.fortress.core.FortressConsole.main(FortressConsole.java:38)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
> Caused by: java.lang.NullPointerException
> 	at org.apache.directory.api.ldap.model.message.SearchRequestImpl.hashCode(SearchRequestImpl.java:373)
> 	at java.lang.Object.toString(Object.java:237)
> 	at org.apache.directory.api.ldap.model.message.SearchRequestImpl.toString(SearchRequestImpl.java:590)
> 	at java.lang.String.valueOf(String.java:2847)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:87)
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:306)
> 	... 24 more
> ENTER to continue



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message