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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

OOTB Content fragment is not working on any environment other than localhost.

Avatar

Level 1

Hi, 

I am not able to use OOTB content fragment component in my project. It is throwing below mentioned error :- 

Cannot serve request to /content/fsbp/us/en/data-privacy-new/jcr:content/root/responsivegrid/contentfragment.rawcontent.html in /libs/dam/cfm/components/contentfragment/rawcontent.html

Exception:

java.lang.NullPointerException

 

Tried to resolve it but no luck, please help us to get it resolved.

 

Thanks,

Mayuri

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Just from that message it's unclear if the NullPointerException is caused by AEM code or by your project code. Please share the top 15-20 lines of the stacktrace and also any "caused by" section which might follow.

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Just from that message it's unclear if the NullPointerException is caused by AEM code or by your project code. Please share the top 15-20 lines of the stacktrace and also any "caused by" section which might follow.