Expand my Community achievements bar.

SOLVED

Not able to replicate through crx/de after code deployment , it is giving 500 internal server error when trying to replicate using crx/de.

Avatar

Level 1

Attaching screenshot for reference. 

Bipsa_0-1735190468194.png

Repro steps

  • After deploying custom code on an instance, the instance restarts and a nullpointer exception occurs at "java.lang.NullPointerException: null
      at com.day.cq.replication.impl.ReplicatorImpl.getReplicationStatus(ReplicatorImpl.java:288) [com.day.cq.cq-replication:6.2.86.CQ650-B0007]" in CRXDE
  • When we try to reproduce the same on a vanilla instance, the issue doesn't occur unless we do a soft restart and deploy the core bundle of our custom code again. 

Note : after every deployment instance is getting restarted and issue mainly occurs after deploying core bundle and this is happening in all the AEM environment's (local . dev , uat e.t.c)

Below are the steps tried so far to resolve the issue 

  • Removed imports and exports in the core pom which could also be imported by core components
  • Removed RepositoryInitializer from ui.config
  • We also tried removing Environment Indicator bundle from ACS commons
  • Decoupled/Removed other custom code dependencies
  • Tried removing references of core components in poms

Still issue occures .

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @Bipsa,


I believe this is a known issue and has already been fixed in the Forms SP22 release. I would request you try upgrading your environment to SP22 and validate the use case to see if you get the same issue. 

If you still see the issue, please raise a support case via the Experience League portal to investigate the issue further.

 

Thanks
Pranay

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi @Bipsa,


I believe this is a known issue and has already been fixed in the Forms SP22 release. I would request you try upgrading your environment to SP22 and validate the use case to see if you get the same issue. 

If you still see the issue, please raise a support case via the Experience League portal to investigate the issue further.

 

Thanks
Pranay

Avatar

Moderator

@Bipsa, did yoy try @Pranay_M 's suggetion? Did it resolve the issue? 

Avatar

Employee

Hi @Khushwant_Singh,

 

This issue has already been fixed in SP22, and I have validated the use case.

Thanks
Pranay