yandexmobile / yandex-ads-sdk-android

Other
80 stars 22 forks source link

Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{org.popapp.jc/com.yandex.mobile.ads.common.AdActivity}: org.json.JSONException: Value at 4 is null. #193

Closed akk0rd87 closed 1 year ago

akk0rd87 commented 1 year ago

На версии com.yandex.android:mobileads:5.5.0 c 23 февряля наблюдаю большой рост exceptions:

Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{org.popapp.jc/com.yandex.mobile.ads.common.AdActivity}: org.json.JSONException: Value at 4 is null.
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3846)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4022)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:85)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2336)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:246)
  at android.app.ActivityThread.main (ActivityThread.java:8653)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by org.json.JSONException: Value at 4 is null.
  at org.json.JSONArray.get (JSONArray.java:291)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.flatMapIterable (SequencesKt___SequencesKt.java)
  at com.yandex.mobile.ads.impl.vo$b.invoke (vo.java)
  at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator (FlatteningSequence.java:3)
  at kotlin.sequences.FlatteningSequence$iterator$1.hasNext (FlatteningSequence.java)
  at kotlin.sequences.TransformingSequence$iterator$1.hasNext (TransformingSequence.java)
  at kotlin.sequences.FilteringSequence.access$getPredicate$p (FilteringSequence.java)
  at kotlin.sequences.FilteringSequence$iterator$1.hasNext (FilteringSequence.java)
  at kotlin.sequences.SequencesKt___SequencesKt.toCollection (SequencesKt___SequencesKt.java)
  at kotlin.sequences.SequencesKt___SequencesKt.toSet (SequencesKt___SequencesKt.java:6)
  at com.yandex.mobile.ads.impl.vo.a (vo.java:6)
  at com.yandex.mobile.ads.impl.lg0.<init> (lg0.java)
  at com.yandex.mobile.ads.impl.lg0.<init> (lg0.java)
  at com.yandex.mobile.ads.impl.tv.<init> (tv.java)
  at com.yandex.mobile.ads.impl.xo.a (xo.java)
  at com.yandex.mobile.ads.impl.wv.a (wv.java)
  at com.yandex.mobile.ads.impl.w0.<init> (w0.java)
  at com.yandex.mobile.ads.impl.t0.a (t0.java)
  at com.yandex.mobile.ads.impl.n0.a (n0.java)
  at com.yandex.mobile.ads.common.AdActivity.onCreate (AdActivity.java)
  at android.app.Activity.performCreate (Activity.java:8207)
  at android.app.Activity.performCreate (Activity.java:8191)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1309)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3819)
mobile-ads-github commented 1 year ago

Добрый день! Проблему устранили, больше не должно воспроизводиться, дополнительных действий от вас не требуется.