on 2019 Aug 02 12:35 PM
Dear Experts,
It is not possible to synchronize the discounts into a new CustomerCheckout. We have updated SAP B1 to 9.3 PL10 and CCO to 2.0 FP07 PL02. Java version is 8.1.046
Do you have an idea?
Greetings
Winfried Kelbch
here is the log:
2019-08-02 13:25:52,336 [BYD_SCHEDULER_Worker-2] FATAL com.sap.scco.ap.pos.i14y.util.AbstractDTOService - Error while setting up CentralServerRestClient
java.lang.NullPointerException: while trying to invoke the method com.sap.scco.ap.pos.entity.destination.HttpDestinationEntity.getUserName() of a null object loaded from local variable 'destination'
at com.sap.scco.ap.pos.i14y.central.CentralServerIntegrationHelper.buildRestClient(CentralServerIntegrationHelper.java:54)
at com.sap.scco.ap.pos.i14y.central.CentralServerIntegrationHelper.buildRestClient(CentralServerIntegrationHelper.java:39)
at com.sap.scco.ap.pos.i14y.central.AbstractDTOService_Central.initClient(AbstractDTOService_Central.java:39)
at com.sap.scco.ap.pos.i14y.central.AbstractDTOService_Central.<init>(AbstractDTOService_Central.java:34)
at com.sap.scco.ap.pos.i14y.central.coupon.AccountCouponDTO_CentralWebserviceImpl.<init>(AccountCouponDTO_CentralWebserviceImpl.java:37)
at com.sap.scco.ap.pos.i14y.InteroperabilityManager.getService(InteroperabilityManager.java:376)
at com.sap.scco.ap.pos.dao.AccountCouponManager.loadAllFromERP_aroundBody6(AccountCouponManager.java:68)
at com.sap.scco.ap.pos.dao.AccountCouponManager.loadAllFromERP_aroundBody7$advice(AccountCouponManager.java:35)
at com.sap.scco.ap.pos.dao.AccountCouponManager.loadAllFromERP(AccountCouponManager.java:1)
at com.sap.scco.ap.pos.job.DiscountJob.executeCouponSync(DiscountJob.java:146)
at com.sap.scco.ap.pos.job.DiscountJob.execute(DiscountJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2019-08-02 13:25:52,339 [loadAllDTOFromExternalSystem] WARN com.sap.scco.ap.pos.i14y.util.AbstractDTOService - CentralServerRestClient is not initialized!
2019-08-02 13:25:52,339 [loadAllDTOFromExternalSystem] WARN com.sap.scco.ap.pos.i14y.util.AbstractDTOService - an exception came up while retrieving all AccountCouponDTO from ERP (CentralServer)
com.sap.scco.util.exception.XState: Unable to login to central server.
at com.sap.scco.ap.pos.i14y.central.coupon.AccountCouponDTO_CentralWebserviceImpl.processSynchronization(AccountCouponDTO_CentralWebserviceImpl.java:79)
at com.sap.scco.ap.pos.i14y.central.coupon.AccountCouponDTO_CentralWebserviceImpl.runRetrieve(AccountCouponDTO_CentralWebserviceImpl.java:44)
at com.sap.scco.ap.pos.i14y.util.AbstractDTOService$2.run(AbstractDTOService.java:273)
at java.lang.Thread.run(Thread.java:836)
Request clarification before answering.
Dear Winfried,
I have the same Business One and the same Java version as you. For me the discount synchronization runs fine (CCO / CCO manager 2.0 FP08 PL02).
Can I ask if you use the CCO manager and if yes what is its version? It looks like a call is made to the CCO manager and this call fails.
Kind regards,
Gunther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.