Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5779

Packaged OSGi config intermittently do not get installed before bundle start

    XMLWordPrintableJSON

Details

    Description

      (Setting version to Launchpad for now until we find out the root cause).

      From time to time I see the launchpad failing to start properly. The first error that is visible is

      10.06.2016 18:18:48.826 *ERROR* [OsgiInstallerImpl] org.apache.jackrabbit.oak-lucene [org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService(31)] The activate method has thrown an exception (java.lang.NullPointerException: Index directory cannot be determined as neither index directory path [localIndexDir] nor repository home [repository.home] defined)
      java.lang.NullPointerException: Index directory cannot be determined as neither index directory path [localIndexDir] nor repository home [repository.home] defined
              at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:236)

      That's weird since the provisioning model holds all the configurations and the relevant bundles are present in the :boot feature → Start Level 1.

      My launchpad jar was built from r1747733 ( but of course SNAPSHOT dependencies mean that someone else building the launchpad will not get the same exact output ).

      Attachments

        1. stdout.log.gz
          2 kB
          Robert Munteanu
        2. error.log.gz
          82 kB
          Robert Munteanu

        Activity

          People

            cziegeler Carsten Ziegeler
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: