Any help please? Is it somewhere else I should be looking for replies?
On Jun 10, 2013, at 2:00 PM, PeriS <[email protected]> wrote:
> I m trying the following;
>
> Oak oak = new Oak();
> ContentRepository repository = oak.createContentRepository();
>
> I understand this should give me a default CR with the MKs initialized. I m
> encountering a null-pointer exception in the Oak.java class particluarly in
> the createContentRepositry() method;
>
>
> // FIXME: OAK-810 move to proper workspace initialization
> // initialize default workspace
> Iterable<WorkspaceInitializer> workspaceInitializers =
>
> Iterables.transform(securityProvider.getSecurityConfigurations(),
> new Function<SecurityConfiguration,
> WorkspaceInitializer>() {
> @Override
> public WorkspaceInitializer
> apply(SecurityConfiguration sc) {
> return sc.getWorkspaceInitializer();
> }
> });
>
> The securityProvider is null and I was wondering if I missed anything during
> initialization. Also, it doesn't appear as if it needs a repository.xml (2.x
> where if one existed it got used and if it didn't, then a new default one got
> created).
>
> Any ideas?
>
> -Peri.S
>
>