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

Carsten Ziegeler updated SLING-868:
-----------------------------------

    Affects Version/s: Engine 2.0.4
        Fix Version/s: Engine 2.0.4

> NPE in SlingAuthenticator.findApplicableAuthenticationHandler
> -------------------------------------------------------------
>
>                 Key: SLING-868
>                 URL: https://issues.apache.org/jira/browse/SLING-868
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.0.4
>            Reporter: Bertrand Delacretaz
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Engine 2.0.4
>
>
> Running the launchpad/testing tests in revision 746969 I get this stack trace 
> a few times:
> 2009-02-23 13:00:22.294::WARN:  
> /org.apache.sling.launchpad.testing-4-incubator-SNAPSHOT/WaitForSlingStartup/1235390422271:
>  
> java.lang.NullPointerException
>         at 
> org.apache.sling.engine.impl.auth.SlingAuthenticator.findApplicableAuthenticationHandlers(SlingAuthenticator.java:349)
>         at 
> org.apache.sling.engine.impl.auth.SlingAuthenticator.getAuthenticationInfo(SlingAuthenticator.java:468)
>         at 
> org.apache.sling.engine.impl.auth.SlingAuthenticator.authenticate(SlingAuthenticator.java:204)
>         at 
> org.apache.sling.engine.impl.SlingMainServlet.handleSecurity(SlingMainServlet.java:794)
>         at 
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:86)
> Line 349 is
>   AuthenticationHandlerInfo[] infos = byHostMap.get(hostname);
> so I assume it's byHostMap that can be null in some cases

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

Reply via email to