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

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 .