Exception System.NullReferenceException, Message: Object reference not set to an instance of an object
means that you are using default host header of Sitecore instead of host header of your SXA site.
To solve your problem:
- Browse using your SXA Host Header Url.
- Check that Solr Cores sitecore_sxa_matser_index and sitecore_sxa_web_index exist. If they don't, create them using the following Command: solr create_core -c new_core -d basic_configs
- Populate schema
sitecore_sxa_master_index
and rebuild indexsitecore_sxa_web_index
exist.
If they don't, create them using the following command:
solr create_core -c new_core -d basic_configs
- Populate schema and rebuild index.