Skip to Content
0
Nov 04, 2018 at 04:03 PM

Index Failed | Parameter 'model' is null!

358 Views

Hello Experts,

I am getting below exception while indexing . I have seen the value provider is mapped in solr . Indexing is working. i can see products in solr core also but i am not able to see any classification attributes in solr . Please help

INFO [hybrisHTTP34] [SolrIndexerOperationWizard] Start solr indexing cronjob. INFO [hybrisHTTP34] [SolrIndexerOperationWizard] Perform cronjob with code: 000054FP INFO [000054FP::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (000054FP) [SolrIndexerJob] Started indexer cronjob. ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 0 (FULL index operation on lscoAMAb2bIndex/Product)] failed to process index items due to Failed to index item with PK 8823091560449: Failed to resolve values for item with PK: 8823091560449, by resolver: lscoPC5ClassificationPropertyValueProvider, for property: feature-consolidatedStyle, reason: Parameter 'model' is null! de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8823091560449: Failed to resolve values for item with PK: 8823091560449, by resolver: lscoPC5ClassificationPropertyValueProvider, for property: feature-consolidatedStyle, reason: Parameter 'model' is null! at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:388) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:131) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:253) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:218) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.multicountry.solr.indexer.workers.impl.MulticountryIndexerWorker.doRun(MulticountryIndexerWorker.java:147) ~[classes/:?] at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:153) [solrfacetsearchserver.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_162] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_162] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162] Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException: Failed to resolve values for item with PK: 8823091560449, by resolver: lscoPC5ClassificationPropertyValueProvider, for property: feature-consolidatedStyle, reason: Parameter 'model' is null! at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.handleError(DefaultSolrDocumentFactory.java:523) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.addIndexedPropertyFieldsForOldApi(DefaultSolrDocumentFactory.java:331) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.addIndexedPropertyFields(DefaultSolrDocumentFactory.java:293) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.createInputDocument(DefaultSolrDocumentFactory.java:191) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:125) ~[solrfacetsearchserver.jar:?] ... 11 more Caused by: java.lang.IllegalArgumentException: Parameter 'model' is null! at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[guava-18.0.jar:?] at de.hybris.platform.servicelayer.util.ServicesUtil.validateParameterNotNull(ServicesUtil.java:138) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.getSource(DefaultModelService.java:429) ~[coreserver.jar:?] at com.lsco.b2b.core.search.solrfacetsearch.provider.impl.LscoPC5ClassificationPropertyValueProvider.getFieldValues(LscoPC5ClassificationPropertyValueProvider.java:32) ~[classes/:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.addIndexedPropertyFieldsForOldApi(DefaultSolrDocumentFactory.java:319) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.addIndexedPropertyFields(DefaultSolrDocumentFactory.java:293) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrDocumentFactory.createInputDocument(DefaultSolrDocumentFactory.java:191) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:125) ~[solrfacetsearchserver.jar:?] ... 11 more ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 0 (FULL index operation on lscoAMAb2bIndex/Product)] failed to process index items due to Failed to index item with PK 8823091560449: Failed to resolve values for item with PK: 8823091560449, by resolver: lscoPC5ClassificationPropertyValueProvider, for property: feature-consolidatedStyle, reason: Parameter 'model' is null! de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8823091560449: Failed to resolve values for item with PK: 8823091560449, by resolver: lscoPC5ClassificationPropertyValueProvider, for property: feature-consolidatedStyle, reason: Parameter 'model' is null! at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:388) ~[solrfacetsearchserver.jar:?]