Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

OAK JCR Query analysis fails

drjava
Level 1
Level 1

I am using AEM 6.3 in my local as a developer.

I followed directions at Oak JCR Query Analysis

It seemed so promising and helpful and yet it doesn't work.

I now have a query.log and I confirmed the org.apache.jackrabbit.core.query.QueryImpl logger name matches

but when I execute a query in the console or from our application code nothing gets written to the log.  It is empty.

Next I tried to access the analysis tool at

http://localhost:4502/libs/granite/operations/content/diagnosis/tool.html/_granite_queryperformance

With that I get a NPE,

Cannot serve request to /libs/granite/operations/content/diagnosis/tool.html/_granite_queryperformance in /libs/granite/operations/components/diagnosis/tool/tool.jsp

Exception:

java.lang.NullPointerException at org.apache.jsp.libs.granite.operations.components.diagnosis.tool.tool_jsp._jspService(tool_jsp.java:148) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) 
0 Replies