AnsweredAssumed Answered

Dashlet throws error when processing JSON

Question asked by ashex on Jun 7, 2013
Latest reply on Jun 7, 2013 by ashex
I'm working on a dashlet that runs a search query and returns it as JSON output. The repo web script works just fine, it's the webscript on the share side which is causing me problems. It's supposed to present an atom feed but instead throws the following error:

org.springframework.extensions.webscripts.WebScriptException - 05060009 TypeError: Cannot parse XML: Scanner State 24 not Recognized (jar:file:/usr/share/tomcat6/shared/lib/recent-docs.jar!/alfresco/site-webscripts/org/tibco/components/dashlets/recent-docs.get.js#13(eval)#1)


Update: Pick one URI format and stick with it, was missing a / when calling the repo script.