We recently migrated from AEM 6.1 to 6.3. Activated all the content pages in staging using Activate tree. But found few pages are not replicated to publish.
Tried replicating the page individually it shows page has been published but I don't see them in publish instance. When I checked the replication logs I found below error.
26.10.2017 06:29:36 - ERROR - publish2useast1 : Error while building replication content java.lang.NullPointerException
When I looked into error logs I see below error.
26.10.2017 06:55:45.873 *ERROR* [10.44.48.201 [1509015345838] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.Agent.publish2useast1 Error while building replication content java.lang.NullPointerException
26.10.2017 06:55:45.873 *ERROR* [10.44.48.201 [1509015345838] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.impl.ReplicatorImpl Error while building replication content.
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.<init>(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at com.adobe.granite.comments.internal.CommentReplicationContentFilterFactory$CommentReplicationContentFilter.accepts(CommentReplicationContentFilterFactory.java:100)
at com.day.cq.replication.impl.ReplicationContentFilterChainImpl.accept(ReplicationContentFilterChainImpl.java:64)
at com.day.cq.replication.impl.content.durbo.DurboContentBuilder.write(DurboContentBuilder.java:492)
at com.day.cq.replication.impl.content.durbo.DurboContentBuilder.write(DurboContentBuilder.java:442)
at com.day.cq.replication.impl.content.durbo.DurboContentBuilder.create(DurboContentBuilder.java:265)
at com.day.cq.replication.impl.content.durbo.DurboContentBuilder.create(DurboContentBuilder.java:141)
at com.day.cq.replication.impl.ServiceTrackerImpl$ContentBuilderWrapper.create(ServiceTrackerImpl.java:257)
at com.day.cq.replication.impl.AgentImpl.buildContent(AgentImpl.java:369)
at com.day.cq.replication.impl.AgentImpl.buildContent(AgentImpl.java:345)
I tried by creating a new page with the same template and replicated it and it is successful. So the issue is not with the template that is used to create the page.
Did anyone else face the same issue?