NullPointerException in SlingServletResolver.handleEvent --------------------------------------------------------
Key: SLING-2378 URL: https://issues.apache.org/jira/browse/SLING-2378 Project: Sling Issue Type: Improvement Components: Servlets Affects Versions: Servlets Resolver 2.1.0 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Servlets Resolver 2.1.2 The handleEvent method is called for all events with the prefix org/apache/sling/api/resource. This includes ResourceResolverMapping/CHANGED events which have no path property. Yet this property is expected by the handleEvent method and causes an NPE. This NPE is logged and looks nasty but has no further consequences. For clean code purposes this should be prevented by only registering to ../Resource and ../ResourceProvider events. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira