I always take an error "Something went wrong when parsing json null"

Originally asked by Grigoriy Efremov on 26 April 2024 (original question)


Error Type:
Unexpected error
Error Detail Message:
Something went wrong when parsing json null

How can I diagnose the problem and fix it?


Answer by Grigoriy Efremov on 26 April 2024

StackTrace

com.exalate.api.exception.bug.BugException: Something went wrong when parsing json null at com.exalate.util.JsonUtils.parseJson(JsonUtils.java:28) at com.exalate.hubobject.v1_2.HubObjectHelper.toHubPayload(HubObjectHelper.java:178) at com.exalate.hubobject.ReplicaHelper.toNonPersistentReplica(ReplicaHelper.java:83) at com.exalate.replication.out.schedule.EventSchedulerService.scheduleSyncEvent(EventSchedulerService.java:806) at com.exalate.replication.out.schedule.EventSchedulerService.scheduleSyncEventNoLock(EventSchedulerService.java:728) at com.exalate.replication.out.schedule.EventSchedulerService.scheduleSyncEvents(EventSchedulerService.java:719) at com.exalate.replication.out.schedule.EventSchedulerServiceLockAware.scheduleSyncEvents(EventSchedulerServiceLockAware.java:180) at com.exalate.replication.out.eventhandler.IssueEventHandlerService.scheduleDeleteOrUpdateEvents(IssueEventHandlerService.java:218) at com.exalate.replication.out.eventhandler.IssueEventHandlerService.handleEvent(IssueEventHandlerService.java:182) at com.exalate.replication.out.eventhandler.IssueEventHandlerService.handleIssueEvent(IssueEventHandlerService.java:134) at com.exalate.replication.out.eventhandler.IssueEventHandlerTask.run(IssueEventHandlerTask.java:43) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at java.io.StringReader.(StringReader.java:50) at com.google.gson.JsonParser.parseString(JsonParser.java:47) at com.google.gson.JsonParser.parse(JsonParser.java:98) at com.exalate.util.JsonUtils.parseJson(JsonUtils.java:26) … 17 more


same issue how to resolve this

@Javier would this be better handled via a support ticket please?
There might be a lot of artifacts we require e.g. replica, logging etc.

Hi @vijay_chavan,

Welcome to the Exalate community!

Are you still experiencing this error? If that’s the case, could you kindly open a support ticket with us using the link here: Exalate Support Portal? We handle this type of request through our support portal.

Once the ticket is submitted, our support team will work with you to troubleshoot and resolve this issue.

Looking forward to assisting you further!