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:33:00 UTC

[jira] [Created] (SLING-9164) NPE when resolving servlets for resource types

Radu Cotescu created SLING-9164:
-----------------------------------

             Summary: 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
             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)