Skip to content

Instantly share code, notes, and snippets.

@dougharris
Created September 23, 2013 04:37
Show Gist options
  • Save dougharris/6666510 to your computer and use it in GitHub Desktop.
Save dougharris/6666510 to your computer and use it in GitHub Desktop.
23.09.2013 00:36:53.265 *ERROR* [pool-5-thread-1] com.slate.cq.services.PartnersFeedServiceImpl Could not parse: http://nervecenter.slate.com/tracker/api/?api_key=UQd7Wl4BRHWzUsRuHqzEetdrvtn92Ebje1mMv2gF org.apache.sling.commons.json.JSONException: A JSONObject text must begin with '{' at character 1 of <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.20 (Ubuntu) Server at nervecenter.slate.com Port 80</address>
</body></html>
at org.apache.sling.commons.json.JSONTokener.syntaxError(JSONTokener.java:448)
at org.apache.sling.commons.json.JSONObject.<init>(JSONObject.java:180)
at org.apache.sling.commons.json.JSONObject.<init>(JSONObject.java:278)
at com.slate.util.WebserviceUtils.getJsonObject(WebserviceUtils.java:32)
at com.slate.cq.services.PartnersFeedServiceImpl.getPartners(PartnersFeedServiceImpl.java:117)
at com.slate.cq.services.PartnersFeedServiceImpl.updatePartnerFeeds(PartnersFeedServiceImpl.java:146)
at com.slate.cq.services.PartnersFeedServiceImpl.update(PartnersFeedServiceImpl.java:74)
at com.slate.cq.jobs.PartnersFeedUpdaterJob.run(PartnersFeedUpdaterJob.java:58)
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:56)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment