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.

On AEM 6.2, Custom comment component is not working on publish instance while it is working good on Author instance.

Avatar

Level 1

We upgraded from 6.0 to 6.2 (we have done in-place upgrade), on 6.0 comment component was working good on both instances (author and publish). On both instances we have same code and same bundle version, but still it is working good on author instance.On publish it is throwing below error :

10.04.2017 06:59:55.706 *ERROR* [172.30.40.54 [1491807595602] POST /content/vknow/en/news/2015/20151110-game-on/jcr:content/reviews.social.json HTTP/1.1] com.adobe.cq.social.scf.core.operations.AbstractSocialOperation Error performing operation:  java.lang.NullPointerException: null at com.adobe.cq.social.commons.comments.api.AbstractComment.<init>(AbstractComment.java:240) at com.adobe.cq.social.review.client.api.AbstractReview.<init>(AbstractReview.java:85) at com.adobe.cq.social.review.client.api.AbstractReview.<init>(AbstractReview.java:71) at com.adobe.cq.social.review.client.impl.ReviewSocialComponentImpl.<init>(ReviewSocialComponentImpl.java:33) at com.adobe.cq.social.review.client.api.ReviewSocialComponentFactory.getSocialComponent(ReviewSocialComponentFactory.java:51) at com.adobe.cq.social.review.client.endpoints.impl.ReviewOperationsService.getSocialComponentForResource(ReviewOperationsService.java:637) at com.adobe.cq.social.review.client.endpoints.impl.ReviewOperationsService.getSocialComponentForResource(ReviewOperationsService.java:75)

PFA for full error code.

0 Replies