JS Errors with Explain Query | Community
Skip to main content
crisr1
Level 4
October 16, 2015
Solved

JS Errors with Explain Query

  • October 16, 2015
  • 3 replies
  • 1358 views

I'm told that Explain Query can be used to help troubleshoot queries and indexes. I've installed acs-aem-tools-content-0.0.20.zip on AEM6 SP2. when i visit /etc/acs-tools/explain-query.html, I see JS errors below. I've also attached a screenshot 

Error: [$injector:unpr] http://errors.angularjs.org/1.2.23/$injector/unpr?p0=aProvider%20%3C-%20a at Error (native) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:5:9 at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:400:40 at Object.X [as get] (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:371:38) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:401:43 at X (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:371:38) at V (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:380:43) at Object.D.instantiate (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:386:4) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:883:5 at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:690:4
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Runal_Trivedi

Seeing the logs it seems one of the angular dependency is not met thats usually when $injector reports the issue.

I would suggest in your system/console change the settings for HTMLClientLibraryManager and change debug to checked and gzip and minify to uncheck and try once again. This should help you identify which js is failing.

localhost:4502/system/console/configMgr#com.day.cq.widget.impl.HtmlLibraryManagerImpl

- Runal

3 replies

smacdonald2008
Level 10
October 16, 2015

You state:

I'm told that Explain Query can be used to help troubleshoot queries and indexes

Did someone point your to an online resource that states this works with AEM? 

Runal_Trivedi
Runal_TrivediAccepted solution
Level 6
October 16, 2015

Seeing the logs it seems one of the angular dependency is not met thats usually when $injector reports the issue.

I would suggest in your system/console change the settings for HTMLClientLibraryManager and change debug to checked and gzip and minify to uncheck and try once again. This should help you identify which js is failing.

localhost:4502/system/console/configMgr#com.day.cq.widget.impl.HtmlLibraryManagerImpl

- Runal

crisr1
crisr1Author
Level 4
October 16, 2015

I got the suggestion to try Explain Query in reply to my SO question about trouble creating a Lucene ordered property index...

http://stackoverflow.com/questions/29836289/how-to-setup-lucene-index-for-aem