Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Registration 1.0.0
-
None
Description
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)