You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/08/18 11:16:46 UTC

[jira] [Created] (OAK-3248) Felix Connect throws exception when launching Oak in Spring Boot env

Chetan Mehrotra created OAK-3248:
------------------------------------

             Summary: Felix Connect throws exception when launching Oak in Spring Boot env
                 Key: OAK-3248
                 URL: https://issues.apache.org/jira/browse/OAK-3248
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: pojosr
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: 1.3.5


When using Oak with pojosr support in Spring Boot based application then following exception is seen

{noformat}
Caused by: java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: String index out of range: -4
        at org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory.startBundles(OakOSGiRepositoryFactory.java:341)
        at org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory.initializeServiceRegistry(OakOSGiRepositoryFactory.java:217)
        at org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory.getRepository(OakOSGiRepositoryFactory.java:161)
        at com.meta64.mobile.repo.OakRepository.createRepository(OakRepository.java:258)
        at com.meta64.mobile.repo.OakRepository.initRepository(OakRepository.java:226)
        at com.meta64.mobile.repo.OakRepository.postConstruct(OakRepository.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
{noformat}

Application used here a modified form of https://github.com/Clay-Ferguson/meta64



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)