Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
We apologize for any inconvenience this may cause and appreciate your understanding.
[REPLICATION-ISSUE]ERROR Unpexpected exception caught in ReplicationProcessor main loop
The replication in xstore got the issue with error below:
2022-04-02 11:44:49,551 [Replication Processor] ERROR Unpexpected exception caught in ReplicationProcessor main loop. We will attempt to continue.
dtv.data2.replication.ReplicationException: An exception occurred while obtaining the datasource used for the replication queue: [Replication]. This datasource MUST be enabled, available, and use JDBCPersistenceStrategy for replication to function.
at dtv.data2.replication.dtximpl.ReplicationQueueAccessor.getConnection(ReplicationQueueAccessor.java:610) ~[dtv-data2.jar:19.0.0.0.606]
at dtv.data2.replication.dtximpl.ReplicationQueueAccessor.queryNonFailedRecCount(ReplicationQueueAccessor.java:296) ~[dtv-data2.jar:19.0.0.0.606]
at dtv.data2.replication.dtximpl.ReplicationProcessor.run(ReplicationProcessor.java:174) [dtv-data2.jar:19.0.0.0.606]
Caused by: java.lang.NullPointerException
at java.time.chrono.ChronoLocalDateTime.compareTo(ChronoLocalDateTime.java:500) ~[?:1.8.0_141]