[ https://issues.apache.org/jira/browse/SLING-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-3387. -------------------------------------- Resolution: Fixed Fix Version/s: JCR Registration 1.0.0 Assignee: Felix Meschberger Thanks for providing the patch. I have applied it in Rev. 1567598 > NPE in org.apache.sling.jcr.registration.AbstractRegistrationSupport.getName > ---------------------------------------------------------------------------- > > Key: SLING-3387 > URL: https://issues.apache.org/jira/browse/SLING-3387 > Project: Sling > Issue Type: Bug > Components: JCR > Affects Versions: JCR Registration 1.0.0 > Reporter: Michael Dürig > Assignee: Felix Meschberger > Fix For: JCR Registration 1.0.0 > > Attachments: SLING-3387.patch > > > org.apache.sling.jcr.registration.AbstractRegistrationSupport#getName refers > to the class' logger without checking for null. It should probably rather us > the log() method which does exactly that. > 12.11.2013 10:14:37.010 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: > pid=org.apache.sling.jcr.jackrabbit.server.RmiRegistrationSupport)] > org.apache.sling.jcr.registration > [org.apache.sling.jcr.jackrabbit.server.RmiRegistrationSupport] The > bindRepository method has thrown an exception > (java.lang.NullPointerException) java.lang.NullPointerException > at > org.apache.sling.jcr.registration.AbstractRegistrationSupport.getName(AbstractRegistrationSupport.java:217) > at > org.apache.sling.jcr.registration.AbstractRegistrationSupport.bindRepository(AbstractRegistrationSupport.java:306) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) -- This message was sent by Atlassian JIRA (v6.1.5#6160)