Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration sync issue #109

Closed
mahalakshme opened this issue Dec 11, 2023 · 3 comments
Closed

Integration sync issue #109

mahalakshme opened this issue Dec 11, 2023 · 3 comments
Assignees

Comments

@mahalakshme
Copy link

https://avni.freshdesk.com/a/tickets/3317

@mahalakshme mahalakshme converted this from a draft issue Dec 11, 2023
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Dec 11, 2023
@himeshr himeshr moved this from Ready to In Progress in Avni Product Dec 13, 2023
@himeshr
Copy link

himeshr commented Dec 15, 2023

2023-12-15 04:40:35,931 DEBUG SpringTaskScheduler-1 [worker.avni.ActivityWorker] Processing avni subject e3163b98-ac55-44fd-b91d-a8040837fb7a
2023-12-15 04:40:35,936 ERROR SpringTaskScheduler-1 [worker.avni.ActivityWorker] Avni subject e3163b98-ac55-44fd-b91d-a8040837fb7a could not be synced to Goonj Salesforce.
java.lang.ClassCastException: class java.lang.Double cannot be cast to class java.lang.Integer (java.lang.Double and java.lang.Integer are in module java.base of loader 'bootstrap')
at org.avni_integration_service.goonj.repository.ActivityRepository.createActivityRequest(ActivityRepository.java:125)
at org.avni_integration_service.goonj.repository.ActivityRepository.convertSubjectToActivityRequest(ActivityRepository.java:71)
at org.avni_integration_service.goonj.repository.ActivityRepository.createEvent(ActivityRepository.java:59)
at org.avni_integration_service.goonj.worker.avni.SubjectWorker.syncSubjectToGoonj(SubjectWorker.java:135)
at org.avni_integration_service.goonj.worker.avni.ActivityWorker.processActivityEvent(ActivityWorker.java:45)
at org.avni_integration_service.goonj.worker.avni.ActivityWorker.createSubject(ActivityWorker.java:42)
at org.avni_integration_service.goonj.worker.avni.SubjectWorker.processSubject(SubjectWorker.java:112)
at org.avni_integration_service.goonj.worker.avni.SubjectWorker.processSubjects(SubjectWorker.java:68)
at org.avni_integration_service.goonj.worker.avni.ActivityWorker.process(ActivityWorker.java:38)
at org.avni_integration_service.goonj.job.AvniGoonjMainJob.processActivity(AvniGoonjMainJob.java:141)
at org.avni_integration_service.goonj.job.AvniGoonjMainJob.execute(AvniGoonjMainJob.java:76)
at org.avni_integration_service.scheduler.IntegrationJobScheduler.lambda$scheduleAll$0(IntegrationJobScheduler.java:81)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)

@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Dec 15, 2023
@himeshr himeshr moved this from Code Review Ready to Done in Avni Product Dec 15, 2023
@himeshr
Copy link

himeshr commented Dec 15, 2023

Minor casting done, no need for review or QA.

@himeshr
Copy link

himeshr commented Dec 15, 2023

ALready deployed and verified that ssystem recovers for the entities with this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants