Skip to Content

issues with solr at first start

Hello all,

I am using SAP CC 1905.4 and I have problems with my Solr at start (backoffice indexing)

After First start I get this error message below, but if I break CC with CTRL+C and restart it, then everything works as expected.

ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 0 (FULL index operation on Solr Config for Backoffice/Product_backoffice_product)] failed to process index items due to Failed to index item with PK 8796093054977: Failed to resolve values for item with PK: 8796093054977, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8796093054977: Failed to resolve values for item with PK: 8796093054977, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:304) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:207) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:245) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:210) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.doRun(DefaultIndexerWorker.java:195) [solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:151) [solrfacetsearchserver.jar:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:834) [?:?]

Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException: Failed to resolve values for item with PK: 8796093054977, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:662) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:498) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

Caused by: java.lang.NullPointerException

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addBackofficeSpecificFields(BackofficeValueResolver.java:57) ~[backofficesolrsearchserver.jar:?]

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addFieldValues(BackofficeValueResolver.java:46) ~[backofficesolrsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.doResolve(AbstractValueResolver.java:134) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.resolve(AbstractValueResolver.java:89) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:486) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 2 (FULL index operation on Solr Config for Backoffice/Product_backoffice_product)] failed to process index items due to Failed to index item with PK 8796119269377: Failed to resolve values for item with PK: 8796119269377, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8796119269377: Failed to resolve values for item with PK: 8796119269377, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:304) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:207) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:245) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:210) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.doRun(DefaultIndexerWorker.java:195) [solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:151) [solrfacetsearchserver.jar:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:834) [?:?]

Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException: Failed to resolve values for item with PK: 8796119269377, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:662) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:498) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

Caused by: java.lang.NullPointerException

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addBackofficeSpecificFields(BackofficeValueResolver.java:57) ~[backofficesolrsearchserver.jar:?]

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addFieldValues(BackofficeValueResolver.java:46) ~[backofficesolrsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.doResolve(AbstractValueResolver.java:134) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.resolve(AbstractValueResolver.java:89) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:486) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 1 (FULL index operation on Solr Config for Backoffice/Product_backoffice_product)] failed to process index items due to Failed to index item with PK 8796106162177: Failed to resolve values for item with PK: 8796106162177, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8796106162177: Failed to resolve values for item with PK: 8796106162177, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:304) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:207) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:245) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:210) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.doRun(DefaultIndexerWorker.java:195) [solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:151) [solrfacetsearchserver.jar:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:834) [?:?]

Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException: Failed to resolve values for item with PK: 8796106162177, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:662) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:498) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

Caused by: java.lang.NullPointerException

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addBackofficeSpecificFields(BackofficeValueResolver.java:57) ~[backofficesolrsearchserver.jar:?]

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addFieldValues(BackofficeValueResolver.java:46) ~[backofficesolrsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.doResolve(AbstractValueResolver.java:134) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.resolve(AbstractValueResolver.java:89) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:486) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

ERROR [solr indexer thread] [DefaultIndexerWorker] [Indexer worker 3 (FULL index operation on Solr Config for Backoffice/Product_backoffice_product)] failed to process index items due to Failed to index item with PK 8796132376577: Failed to resolve values for item with PK: 8796132376577, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Failed to index item with PK 8796132376577: Failed to resolve values for item with PK: 8796132376577, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:304) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:207) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:245) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:210) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.doRun(DefaultIndexerWorker.java:195) [solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:151) [solrfacetsearchserver.jar:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:834) [?:?]

Caused by: de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException: Failed to resolve values for item with PK: 8796132376577, by resolver: backofficeValueResolver, for properties: [_backofficeLabel, name], reason: null

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.handleError(DefaultIndexer.java:662) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:498) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

Caused by: java.lang.NullPointerException

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addBackofficeSpecificFields(BackofficeValueResolver.java:57) ~[backofficesolrsearchserver.jar:?]

	at com.hybris.backoffice.solrsearch.resolvers.BackofficeValueResolver.addFieldValues(BackofficeValueResolver.java:46) ~[backofficesolrsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.doResolve(AbstractValueResolver.java:134) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.resolve(AbstractValueResolver.java:89) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFieldsForNewApi(DefaultIndexer.java:486) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.addIndexedPropertyFields(DefaultIndexer.java:441) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.createInputDocument(DefaultIndexer.java:334) ~[solrfacetsearchserver.jar:?]

	at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:201) ~[solrfacetsearchserver.jar:?]

	... 11 more

it looks like it fails loading _backofficeLabel, but I have this line in my productSolr.impex:

INSERT_UPDATE SolrIndexedProperty; name[unique = true]; $solrIndexedType; type(code); localized[default = false]; currency[default = false]; multiValue[default = false]; fieldValueProvider      ; ftsQuery; ftsQueryBoost; ftsPhraseQuery; ftsPhraseQueryBoost; ftsWildcardQuery; $ftsWildcardQueryType; includeInResponse; useForSpellChecking; useForAutocomplete;
                                 ; _backofficeLabel   ;                 ; text      ; true                      ;                          ;                            ; backofficeValueResolver ; true    ; 1.0          ; true          ; 5.0                ; true            ; POSTFIX              ; false            ; true               ; true              ;<br>

Any ideas?

Cheers Serdar

Add a comment
10|10000 characters needed characters exceeded

  • I am not pretty sure, but these lines are bugging me

    INFO  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] cockpitng-config media created
    
    INFO  [solr indexer thread] [DefaultMediaCockpitConfigurationPersistenceStrategy] No data for media: cockpitng-config
    
    WARN  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] Cannot create cockpitng-config media, probably it was created on other node
    
    WARN  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] Cannot create cockpitng-config media, probably it was created on other node
    
    WARN  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] Cannot create cockpitng-config media, probably it was created on other node
    
    WARN  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] Cannot create cockpitng-config media, probably it was created on other node
    
    WARN  [solr indexer thread] [DefaultBackofficeConfigurationMediaHelper] Cannot create cockpitng-config media, probably it was created on other node

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.