You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/12/11 12:19:00 UTC

[jira] [Closed] (SLING-7265) NPE on activation of SlingServletResolver

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

Karl Pauls closed SLING-7265.
-----------------------------

> NPE on activation of SlingServletResolver
> -----------------------------------------
>
>                 Key: SLING-7265
>                 URL: https://issues.apache.org/jira/browse/SLING-7265
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Resolver 2.4.14
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: Servlets Resolver 2.4.20
>
>
> The following happens when SCR is restarted:
> This might be a timing issue as the reference gets stale while the resolver is activating, or for some reason the stale reference did not get removed from the list
> 24.11.2017 15:49:21.348 *ERROR* [pool-4-thread-1] org.apache.sling.servlets.resolver bundle org.apache.sling.servlets.resolver:2.4.14 (538)[org.apache.sling.servlets.resolver.SlingServletResolver(3037)] : The activate method has thrown an exception (java.lang.NullPointerException)
> java.lang.NullPointerException: null
> 	at org.apache.sling.servlets.resolver.internal.SlingServletResolver.createServlet(SlingServletResolver.java:1010)
> 	at org.apache.sling.servlets.resolver.internal.SlingServletResolver.createAllServlets(SlingServletResolver.java:982)
> 	at org.apache.sling.servlets.resolver.internal.SlingServletResolver.activate(SlingServletResolver.java:819)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)