NullPointerException in ProcessorManagerImpl.handleEvent --------------------------------------------------------
Key: SLING-2379 URL: https://issues.apache.org/jira/browse/SLING-2379 Project: Sling Issue Type: Improvement Components: Extensions Affects Versions: Extensions Rewriter 1.0.0 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Extensions Rewriter 1.0.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