Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Cannot load Page in Touch-UI

Avatar

Level 3

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
 

7 Replies

Avatar

Level 10

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? 

Avatar

Level 3

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.

Avatar

Level 10

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

Avatar

Level 3

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!

Avatar

Level 3

I also started up an instance of AEM 5.6.1 and installed the sample package above. While the TouchUI was in beta in 5.6.1, it loaded without any errors :P If you can, please install the sample package I attached on your 6.0+ instance and see if you see the same error. If not, it has to do with me not having access to the various patches/hotfixes deployed 

Avatar

Level 3

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!

Avatar

Level 3

I also started up an instance of AEM 5.6.1 and installed the sample package above. While the TouchUI was in beta in 5.6.1, it loaded without any errors :P If you can, please install the sample package I attached on your 6.0+ instance and see if you see the same error. If not, it has to do with me not having access to the various patches/hotfixes deployed