You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/02/28 12:35:00 UTC
[jira] [Resolved] (SLING-9164) NPE when resolving servlets for
resource types
[ https://issues.apache.org/jira/browse/SLING-9164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved SLING-9164.
---------------------------------
Resolution: Fixed
Fixed inĀ [commit 1386d2e|https://github.com/apache/sling-org-apache-sling-servlets-resolver/commit/1386d2e].
> NPE when resolving servlets for resource types
> ----------------------------------------------
>
> Key: SLING-9164
> URL: https://issues.apache.org/jira/browse/SLING-9164
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Resolver 2.6.0
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Servlets Resolver 2.6.2
>
>
> The Servlets Resolver 2.6.0 release has introduced changes from SLING-8110, although that issue is not yet complete according to JIRA. However, one of the changes introduced a NPE in the {{org.apache.sling.servlets.resolver.internal.SlingServletResolver#resolveServletInternal(final SlingHttpServletRequest request, final Resource resource, final String scriptNameOrResourceType, final ResourceResolver resolver)}} method which prevents resolving servlets for a certain {{resourceType}} or {{script}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)