directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1567) Anonymous bind fails with an ''
Date Fri, 15 Oct 2010 10:20:32 GMT

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

Pierre-Arnaud Marcelot updated DIRSERVER-1567:
----------------------------------------------

    Attachment: Screen shot 2010-10-15 at 12.15.32.png

> Anonymous bind fails with an ''
> -------------------------------
>
>                 Key: DIRSERVER-1567
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1567
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-RC1
>            Reporter: Pierre-Arnaud Marcelot
>             Fix For: 2.0.0-RC1
>
>         Attachments: Screen shot 2010-10-15 at 12.15.32.png
>
>
> When I attempt to bind as anonymous using the current trunk, I get rejected with an InvalidCredentials
 Ldap Error (code 49) and a strange message 'Unexpected exception'.
> I dug a bit the problem and found out an NPE in the AuthenticationInterceptor was the
cause of the 'Unexpected exception'.
> Here's the full stacktrace of the NPE:
> java.lang.NullPointerException
> 	at org.apache.directory.server.core.authn.AuthenticationInterceptor.bind(AuthenticationInterceptor.java:987)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.bind(InterceptorChain.java:1208)
> 	at org.apache.directory.server.core.normalization.NormalizationInterceptor.bind(NormalizationInterceptor.java:385)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.bind(InterceptorChain.java:675)
> 	at org.apache.directory.server.core.DefaultOperationManager.bind(DefaultOperationManager.java:290)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handleSimpleAuth(BindHandler.java:175)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:601)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:1)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:196)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:1)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:229)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:75)
> 	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:637)
> java.lang.NullPointerException
> 	at org.apache.directory.server.core.authn.AuthenticationInterceptor.bind(AuthenticationInterceptor.java:987)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.bind(InterceptorChain.java:1208)
> 	at org.apache.directory.server.core.normalization.NormalizationInterceptor.bind(NormalizationInterceptor.java:385)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.bind(InterceptorChain.java:675)
> 	at org.apache.directory.server.core.DefaultOperationManager.bind(DefaultOperationManager.java:290)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handleSimpleAuth(BindHandler.java:175)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:601)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:1)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:196)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:1)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:229)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:75)
> 	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:637)
> java.lang.NullPointerException
> 	at org.apache.directory.server.core.authn.AuthenticationInterceptor.bind(AuthenticationInterceptor.java:987)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.bind(InterceptorChain.java:1208)
> 	at org.apache.directory.server.core.normalization.NormalizationInterceptor.bind(NormalizationInterceptor.java:385)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.bind(InterceptorChain.java:675)
> 	at org.apache.directory.server.core.DefaultOperationManager.bind(DefaultOperationManager.java:290)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handleSimpleAuth(BindHandler.java:175)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:601)
> 	at org.apache.directory.server.ldap.handlers.BindHandler.handle(BindHandler.java:1)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:196)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:1)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:229)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:75)
> 	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:637)
> My knowledge of that part of the server is relatively limited, so I will let the Pros
fix this issue.
> Thanks!

-- 
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