Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM 6.1 NullPointerException at ResponsiveInfoProvider.java:110

Avatar

Level 2

Hello,

I got this error while editing pages with the classical UI (/cf#) on this url /libs/wcm/core/content/pageinfo.json.

I installed a new 6.1, then installed my app, and finally installed some content from a 5.6 release.

Have you any idea? Thanks

marc

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi, my root page was missing its jcr:content node, so the search of inherited stuff was failing when reaching the root page.

I've fixed the missing node and everything works fine, thanks for your help.

View solution in original post

7 Replies

Avatar

Level 10

Are you getting this exception for only pages under your app or for all pages? 

Avatar

Level 2

Hi, it occurs only on my pages copied from the 5.6 instance , not on demo geometrix pages

Avatar

Level 10

Make sure all of your 6.1 pages have the proper Super Resource Type defined: foundation/components/page.  

See this Sightly article as an example:

https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

Avatar

Level 2

Hi,

If i add this node "cq:responsive" to the jcr:content of my page, the pageinfo.json request returns fine.

Is there any "responsive" filter enabled by default on 6.1 author ?

Thanks

Avatar

Level 10

Can you confirm which  java version you are having, make sure it's JDK 1.8

Avatar

Level 2

Hi, same issue with jdk1.8.

It seems that the new InfoProvider node 'responsive' under /libs/foundation/components/page/cq:infoProviders, implies a non empty inherited node cq:responsive for my pages.

Avatar

Correct answer by
Level 2

Hi, my root page was missing its jcr:content node, so the search of inherited stuff was failing when reaching the root page.

I've fixed the missing node and everything works fine, thanks for your help.