cancel
Showing results for 
Search instead for 
Did you mean: 

Incessant indexing error (Unterminated string at character)

linzhixnig
Champ in-the-making
Champ in-the-making
I got the following errors repeatedly and incessantly in catalina.out.



Requested format at index 56, but it wasn't found
Requested format at index 56, but it wasn't found
Requested format at index 56, but it wasn't found
org.json.JSONException: Unterminated string at character 2250
at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
at org.json.JSONTokener.nextString(JSONTokener.java:244)
at org.json.JSONTokener.nextValue(JSONTokener.java:344)
at org.json.JSONArray.<init>(JSONArray.java:125)
at org.json.JSONTokener.nextValue(JSONTokener.java:351)
at org.json.JSONObject.<init>(JSONObject.java:206)
at org.json.JSONTokener.nextValue(JSONTokener.java:347)
at org.json.JSONArray.<init>(JSONArray.java:125)
at org.json.JSONTokener.nextValue(JSONTokener.java:351)
at org.json.JSONObject.<init>(JSONObject.java:206)
at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:725)
at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1879)
at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410)
at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
org.json.JSONException: Unterminated string at character 1142
at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
at org.json.JSONTokener.nextString(JSONTokener.java:244)
at org.json.JSONTokener.nextValue(JSONTokener.java:344)
at org.json.JSONObject.<init>(JSONObject.java:206)
at org.json.JSONTokener.nextValue(JSONTokener.java:347)
at org.json.JSONObject.<init>(JSONObject.java:206)
at org.json.JSONTokener.nextValue(JSONTokener.java:347)
at org.json.JSONArray.<init>(JSONArray.java:125)
at org.json.JSONTokener.nextValue(JSONTokener.java:351)
at org.json.JSONObject.<init>(JSONObject.java:206)
at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:725)
at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1879)
at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410)
at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Requested format at index 56, but it wasn't found
Requested format at index 56, but it wasn't found
Requested format at index 56, but it wasn't found


I suppose it might be caused by kind of indexing errors.
Especially, the message like "Requested format at index 56, but it wasn't found" can be an Apache POI error of a MS file format.

How can I fix it?
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

This looks like a JSON encoding error (and may have been fixed).
Can you turn on the SOLR debugging as described on the wiki and find the node that is causing the problem
Then find the node in the node browser and post the meta-data.
Then there is enough to check if this is still an issue.

Andy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.