Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Getting error during migrating from AEM6.2 to 6.5

vandsvna
Level 1
Level 1

[sling-default-2-health-com.day.cq.compat.codeupgrade.impl.hc.MissingPackagesHealthCheck] com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics Error in refreshing the health check gauge com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 1480105 path $.data[580].contentPackage at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222) [com.adobe.cq.gson:2.8.5] at com.google.gson.Gson.fromJson(Gson.java:927) [com.adobe.cq.gson:2.8.5] at com.google.gson.Gson.fromJson(Gson.java:865) [com.adobe.cq.gson:2.8.5] at com.day.cq.compat.codeupgrade.impl.hc.MissingPackagesHealthCheck.getMissingBundleAndContentPackage(MissingPackagesHealthCheck.java:255) [com.day.cq.cq-compat-codeupgrade:1.7.100] at com.day.cq.compat.codeupgrade.impl.hc.MissingPackagesHealthCheck.addMissingPackagesLogsToSet(MissingPackagesHealthCheck.java:226) [com.day.cq.cq-compat-codeupgrade:1.7.100] at com.day.cq.compat.codeupgrade.impl.hc.MissingPackagesHealthCheck.execute(MissingPackagesHealthCheck.java:147) [com.day.cq.cq-compat-codeupgrade:1.7.100] at com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics$LazyGauge.execute(QueryHealthCheckMetrics.java:266) [com.adobe.granite.queries:1.0.64] at com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics$LazyGauge.lambda$new$0(QueryHealthCheckMetrics.java:253) [com.adobe.granite.queries:1.0.64] at com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics$LazyGauge$$Lambda$142/26171147.run(Unknown Source) [com.adobe.granite.queries:1.0.64] at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:347) [org.apache.sling.commons.scheduler:2.7.2] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [org.apache.sling.commons.scheduler:2.7.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 1480105 path $.data[580].contentPackage at com.google.gson.stream.JsonReader.nextString(JsonReader.java:825) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:402) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:390) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131) [com.adobe.cq.gson:2.8.5] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222) [com.adobe.cq.gson:2.8.5] ... 17 common frames omitted

1 Reply
rakhis70886561
Level 1
Level 1

Please let us know if you are using just AEM or AEM forms.