3 Replies Latest reply: Feb 14, 2013 5:41 AM by Gobi.A RSS

    TypeAhead Index Failing During Start with Clean Index Step

    817496
      We are having a problem building a type-ahead index within Search in the BCC. We are able to successfully build our search index for the regular product catalog, but when building the type-ahead index we receive the following error:

      2011-06-21 13:39:05,219 INFO [IndexLoader] DEBUG orig setTargetEnvs = atg.repository.tojava.runtime.SetWrapper@f40fa867
      2011-06-21 13:39:05,220 INFO [IndexLoader] DEBUG orig setTargetEnvs.size() = 1
      2011-06-21 13:39:05,599 INFO [IndexLoader] DEBUG cloned setTargetEnvs = atg.repository.tojava.runtime.SetWrapper@f40fa867
      2011-06-21 13:39:05,600 INFO [IndexLoader] DEBUG cloned setTargetEnvs.size() = 1
      2011-06-21 13:39:05,636 INFO [IndexLoader] DEBUG prepareEnvironment STARTED
      2011-06-21 13:39:05,636 INFO [IndexLoader] DEBUG Starting step partition_step for sync task 7000006 of type complete
      2011-06-21 13:39:05,684 ERROR [IndexLoader] Error occurred in step partition_step for sync task 7000006 of type complete. Error:
      java.lang.NullPointerException
           at atg.search.routing.RoutingIndexingEventService.getLookupKey(RoutingIndexingEventService.java:48)
           at atg.search.routing.RoutingIndexingEventService.addIndexingEventListener(RoutingIndexingEventService.java:82)
           at atg.searchadmin.core.IndexLoaderSession$RoutingIndexingEventListenerData.register(IndexLoaderSession.java:521)
           at atg.searchadmin.core.IndexLoaderSession.registerEventListener(IndexLoaderSession.java:481)
           at atg.searchadmin.core.stage.IndexingPipelineSessionImpl.registerEventListener(IndexingPipelineSessionImpl.java:422)
           at atg.searchadmin.core.stage.PartitionDispatchStage.createPartitionAndDriverForLP(PartitionDispatchStage.java:365)
           at atg.searchadmin.core.stage.PartitionDispatchStage.doInitializeSession(PartitionDispatchStage.java:295)
           at atg.searchadmin.core.stage.IndexingPipelineStage2Impl.initializeSession(IndexingPipelineStage2Impl.java:141)
           at atg.searchadmin.core.stage.IndexingPipelineStage2Impl.initializeSession(IndexingPipelineStage2Impl.java:147)
           at atg.searchadmin.core.stage.IndexingPipelineStage2Impl.initializeSession(IndexingPipelineStage2Impl.java:147)
           at atg.searchadmin.core.stage.IndexingPipelineStage2Impl.initializeSession(IndexingPipelineStage2Impl.java:147)
           at atg.searchadmin.core.stage.IndexingPipelineStage2Impl.initializeSession(IndexingPipelineStage2Impl.java:147)
           at atg.searchadmin.core.stage.IndexingPipelineSessionImpl.initialize(IndexingPipelineSessionImpl.java:243)
           at atg.searchadmin.core.stage.IndexingPipelineSessionService.createSession(IndexingPipelineSessionService.java:119)
           at atg.searchadmin.core.IndexLoader.prepareEnvironment(IndexLoader.java:583)
           at atg.searchadmin.core.IndexLoader.executeSession(IndexLoader.java:2044)
           at atg.searchadmin.core.IndexLoader$IndexingThread.run(IndexLoader.java:2490)

      I cannot determine what is causing this because in the past when I have seen this error, it is because the clean index initial.index did not exist, but I saw that error on the regular product catalog search. There is nothing else that I see in the logs.

      Thanks in advance for any help or ideas.
      John