AnsweredAssumed Answered

Logs show org.json.JSONException error

Question asked by leftcase on Oct 28, 2011
Latest reply on Jan 19, 2012 by leftcase
Hi all,

I'm new to Alfresco, having only recently downloaded and installed Alfresco Community version 4.0.

I'm running the stock install on a Windows Server 2003 64bit platform. I've configured auth to use LDAP, and I've disabled http access to the web front end (I found forcing Tomcat to listen on localhost for connections to 8080 doesn't *seem* to interfere with Alfresco's operation, and forcing my users to connect over https protects their credentials up to the Alfresco server). Finally I configured an upstream SMTP server to relay messages.

Everything seems to be going OK, but when I look at the logs at Alfresco\tomcat\logs\*.log, I'm seeing this error repeated:

2011-10-28 15:38:38,665  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2011-10-28 15:38:38,680  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
org.json.JSONException: Missing value at character 189
   at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
   at org.json.JSONTokener.nextValue(JSONTokener.java:372)
   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.getAclReaders(SOLRAPIClient.java:303)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1222)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:481)
   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:549)
org.json.JSONException: Missing value at character 189
   at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
   at org.json.JSONTokener.nextValue(JSONTokener.java:372)
   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.getAclReaders(SOLRAPIClient.java:303)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1222)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:481)
   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:549)
org.json.JSONException: Missing value at character 189
   at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
   at org.json.JSONTokener.nextValue(JSONTokener.java:372)
   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.getAclReaders(SOLRAPIClient.java:303)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1222)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:481)
   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:549)

The output after 'org.json.JSONException: Missing value at character 189' repeats over and over again.

Does anyone have any idea what might be causing this?  :?

Thanks in advance!

Chris

Outcomes