search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Get a JSON exception when trying to instantiate org.daypilot.ui.DayPilotScheduler

Asked by Scott
9 years ago.

In my servlet I try to do the following.

Dps dps = new Dps(); //The Dps class extends org.daypilot.ui.DayPilotScheduler
dps.process(request, response);

When the process method is called I get the following exception
org.daypilot.json.JSONException: A JSONObject text must begin with '{' at character 0
at org.daypilot.json.JSONTokener.syntaxError(Unknown Source)

Comment posted by Scott
9 years ago.

I see my problem. I was calling servlet directly instead of calling it from the javascript. It works now.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.