AnsweredAssumed Answered

Alfresco 5.1 solr4 Tracking failed

Question asked by janardhanc on Feb 28, 2017
Latest reply on Mar 20, 2017 by janardhanc

Hi,

 

I configured alfresco, share and solr4 wars on tomcat and am able to run share without issues. However I see below solr4 exception. I am able to search existing documents from the search, however, new imported docs are not being picked up. If I delete the solr4 index, content, and model folders, the reindex is able to pickup my custom docs and they show up in the search. However, any new docs imported are not being picked up. I believe it is due to below issue.

 

2017-02-28 14:34:19,309 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-02-28 14:34:19,309 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-02-28 14:34:19,418 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loading suggester index for: shingleBasedSuggestions
2017-02-28 14:34:19,502 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 84 ms
2017-02-28 14:35:30,166 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.NullPointerException
at org.alfresco.solr.Cloud.getResponse(Cloud.java:159)
at org.alfresco.solr.Cloud.getSolrDocumentList(Cloud.java:143)
at org.alfresco.solr.SolrInformationServer.getDocsWithUncleanContent(SolrInformationServer.java:715)
at org.alfresco.solr.tracker.ContentTracker.doTrack(ContentTracker.java:74)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:185)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2017-02-28 14:35:30,182 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.NullPointerException
at org.alfresco.solr.Cloud.getResponse(Cloud.java:159)
at org.alfresco.solr.Cloud.getResultContext(Cloud.java:125)
at org.alfresco.solr.SolrInformationServer.getDocListSize(SolrInformationServer.java:1043)
at org.alfresco.solr.SolrInformationServer.getTxDocsSize(SolrInformationServer.java:1024)
at org.alfresco.solr.tracker.MetadataTracker.checkRepoAndIndexConsistency(MetadataTracker.java:206)
at org.alfresco.solr.tracker.MetadataTracker.trackRepository(MetadataTracker.java:132)
at org.alfresco.solr.tracker.MetadataTracker.doTrack(MetadataTracker.java:103)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:185)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)

 

System configuration:

Windows 7 Enterprise

PostgreSQL version 9.4.5

Apache Tomcat Version 7.0.40 (No SSL)

JDK 1.8.0_74

Alfresco EA 5.1

See logs and configs in attachments.

 

Fixing this will greatly help us in evaluating Alfresco for our new initiative. Please help.

 

Thank you,

Janardhan Chinta

Outcomes