Cannot load Page in Touch-UI | Community
Skip to main content
blkhatpersian
March 10, 2016

Cannot load Page in Touch-UI

  • March 10, 2016
  • 1 reply
  • 5121 views

Running AEM 6.0 Author Instance and sadly my pages will not open in Touch UI to edit :( The page is blank, has no components used beyond the page-rendering one, and the following is shown in the source: 

<p>Cannot serve request to /editor.html/content/dashboardangular/index.html in /libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp</p> <pre> java.lang.NullPointerException at org.apache.jsp.libs.cq.gui.components.authoring.pagestatus.pagestatus_jsp._jspService(pagestatus_jsp.java:255)

My page component has sling:superResourceType "foundation/components/page" and this has not solved the issue. The page will display in Classical UI and I can use the Sidekick. Another side issue is that the Page Properties item is greyed out in the Sidekick so any ideas there?

I would like to specifically mention that I do not have access to AEM 6.0's service patch 3. If you feel like this is solved with that, please mention it. Thank you!

Ali
 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
March 10, 2016

Try making a new template and create a new page component - make sure when you create the page component - you specify foundation/components/page as the sling:superResourceType type.  Does new pages open in TOuch? 

blkhatpersian
March 11, 2016

Scott,

That unfortunately did not work, same error. I do not have a body.jsp, head.jsp, and footer.jsp if that matters.

Also, when I changed my sample page's cq:template and sling:resourceType properties to the sample geometrixx en page it came up. I just don't know why it is rejecting the pages I make.

blkhatpersian
March 11, 2016

Can you try this on a fresh install of AEM. If you are using the QUICK Start JAR - place the JAR into new folder and start AEM. Then follow this article to build a fast page in TOuch UI. 

http://scottsdigitalcommunity.blogspot.ca/2014/08/creating-your-first-adobe-experience_21.html


Scott,

Tried what you listed(installing fresh instance of AEM, built a page in Touch UI using template created), and still the same error. I looked further into the error and tracked down where it starts failing:

 

85 (2016-03-11 11:50:51) TIMER_START{/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 88 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 88 (2016-03-11 11:50:51) TIMER_END{3,/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 89 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 89 (2016-03-11 11:50:51) TIMER_END{5,/libs/granite/ui/components/foundation/layouts/popover/popover.jsp#96} 89 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 89 (2016-03-11 11:50:51) TIMER_END{7,/libs/granite/ui/components/foundation/container/container.jsp#95} 90 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 90 (2016-03-11 11:50:51) TIMER_END{11,/libs/cq/gui/components/authoring/headerbar/headerbar.jsp#92} 90 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 90 (2016-03-11 11:50:51) TIMER_END{12,/libs/cq/gui/components/authoring/editorpanel/panelheader.jsp#91} 91 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 91 (2016-03-11 11:50:51) TIMER_END{14,/libs/cq/gui/components/authoring/editorpanel/editorpanel.jsp#90} 91 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 91 (2016-03-11 11:50:51) TIMER_END{83,/libs/granite/ui/components/foundation/contsys/contsys.jsp#3} 92 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 93 (2016-03-11 11:50:51) LOG SCRIPT ERROR: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp 93 (2016-03-11 11:50:51) TIMER_END{91,/libs/granite/ui/components/foundation/admin/page/page.jsp#1} 93 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 93 (2016-03-11 11:50:51) TIMER_END{93,/libs/foundation/components/primary/cq/Page/Page.jsp#0} 94 (2016-03-11 11:50:51) LOG Applying Error filters 94 (2016-03-11 11:50:51) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 94 (2016-03-11 11:50:51) TIMER_START{handleError:throwable=java.lang.NullPointerException} 97 (2016-03-11 11:50:51) TIMER_END{3,handleError:throwable=java.lang.NullPointerException}

I have also attached a package with the page-rendering component I have(newpage), the template, and the Page in /content.  Rename the "newfile.gif" file with a .zip extension to extract it.


Thanks!