Uploaded image for project: 'Solr Search Provider'
  1. Solr Search Provider
  2. MGNLEESOLR-135

Magnolia 6.1 DataIndexer not initialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.2
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Release 6.1.1
    • Story Points:
      3
    • Magnolia Release:
      6.1.1

      Description

      Since the upgrade from Magnolia 6.0 to 6.1 it is not possible to initialize the DataIndexer in the magnolia-content-indexer module -> the whole module is not starting because of this failure.
      We are using the latest version of the magnolia-content-indexer Module [5.2.1].

      DataIndexer throws a NullPointerException in line 70. The SystemContentWrapper object is null but the fields are all set in the IndexerConfig object. 

      2019-07-22 14:02:43,668 INFO  info.magnolia.module.ModuleManagerImpl            : Stopping module content-indexer
      2019-07-22 14:02:43,674 INFO  info.magnolia.module.ModuleManagerImpl            : Starting module content-indexer
      2019-07-22 14:02:43,686 ERROR info.magnolia.event.SimpleEventBus                : Exception caught when dispatching info.magnolia.module.StartModuleEvent with info.magnolia.module.ModuleManagerImpl$$Lambda$318/971779853 eventHandler.
      java.lang.NullPointerException: null
      	at info.magnolia.module.indexer.DataIndexer.init(DataIndexer.java:70) ~[magnolia-content-indexer-5.2.1.jar:?]
      	at info.magnolia.module.indexer.DataIndexerFactory.init(DataIndexerFactory.java:72) ~[magnolia-content-indexer-5.2.1.jar:?]
      	at info.magnolia.module.indexer.ContentIndexerModule.start(ContentIndexerModule.java:77) ~[magnolia-content-indexer-5.2.1.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.startModule(ModuleManagerImpl.java:390) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.module.ModuleManagerImpl.lambda$startModules$0(ModuleManagerImpl.java:355) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.module.StartModuleEvent.dispatch(StartModuleEvent.java:52) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.module.StartModuleEvent.dispatch(StartModuleEvent.java:42) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:75) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.config.module.ModuleMap2BeanTransformer.lambda$transform$1(ModuleMap2BeanTransformer.java:94) ~[magnolia-configuration-6.1.jar:?]
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:356) ~[magnolia-core-6.1.jar:?]
      	at info.magnolia.config.module.ModuleMap2BeanTransformer.transform(ModuleMap2BeanTransformer.java:90) ~[magnolia-configuration-6.1.jar:?]
      	at info.magnolia.config.source.jcr.JcrConfigurationSource.newProvider(JcrConfigurationSource.java:189) ~[magnolia-configuration-6.1.jar:?]
      	at info.magnolia.config.module.ModuleJcrConfigurationSource.reload(ModuleJcrConfigurationSource.java:110) ~[magnolia-configuration-6.1.jar:?]
      	at info.magnolia.config.module.ModuleJcrConfigurationSource.reload(ModuleJcrConfigurationSource.java:96) ~[magnolia-configuration-6.1.jar:?]
      	at info.magnolia.observation.DeferringEventListener$ObservationBasedDelayedExecutor$1.run(DeferringEventListener.java:102) [magnolia-core-6.1.jar:?]
      	at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:103) [magnolia-core-6.1.jar:?]
      	at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source) [concurrent-1.3.4.jar:?]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdivilek Milan Divilek
              Reporter:
              tpeintner Thomas Peintner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 28m Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 28m Remaining Estimate - 1h
                  28m