Description
In /oak-oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
there is
Line: 60
securityProvider = null; // TODO
which causes a NPE (below).
Changing to
securityProvider = new SecurityProviderImpl();
Fixes, not sure if thats right. Simple patch in a moment.
5.03.2013 10:45:46.968 ERROR [FelixDispatchQueue] org.apache.jackrabbit.oak-sling FrameworkEvent ERROR (java.lang.NullPointerException) java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
at org.apache.jackrabbit.oak.jcr.RepositoryImpl.<init>(RepositoryImpl.java:60)
at org.apache.jackrabbit.oak.jcr.osgi.OsgiRepository.<init>(OsgiRepository.java:40)
at org.apache.jackrabbit.oak.sling.SlingRepositoryImpl.<init>(SlingRepositoryImpl.java:35)
at org.apache.jackrabbit.oak.sling.Activator.addingService(Activator.java:77)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
Attachments
Attachments
Issue Links
- blocks
-
SLING-2788 Optionally run Sling on Apache OAK
- Resolved