Gentilissimi,
Sto aiutando mia madre a configurare l’app CieID sul suo Samsung S22. Siamo riusciti a leggere la sua CIE con l’app, e quindi ad attivare l’app. Ma non risulta utilizzabile, in quanto devo fare il login sull’app per certificare il dispositivo. Ogni volta che clicchiamo su “Attivo livello 1 e 2”, l’app si chiude.
La stessa certificazione dispositivo ha funzionato senza problemi sul mio Samsung A35.
Ho cercato soluzioni sul forum, ma non ho trovato nulla di rilevante. Si parla di crash noti su versioni Android più vecchie (meno di 7), ma entrambi i telefoni hanno Android 14.
Ciao, anche io avevo questo problema l’ultima settimana.
Non sono riuscito a verificare il dispositivo con la versione 1.7.13 a causa di un crash. Ho fatto dei analisi e allego lo stack trace qua:
2024-09-16 14:40:34.259 32169-32169 AndroidRuntime it.ipzs.cieid D Shutting down VM
2024-09-16 14:40:34.260 32169-32169 AndroidRuntime it.ipzs.cieid E FATAL EXCEPTION: main (Ask Gemini)
Process: it.ipzs.cieid, PID: 32169
java.lang.IndexOutOfBoundsException: setSpan (-1 ... 15) starts before 0
at android.text.SpannableStringInternal.checkRange(SpannableStringInternal.java:499)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:199)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:186)
at android.text.SpannableString.setSpan(SpannableString.java:60)
at ja.e0.b(SourceFile:54)
at it.ipzs.cieid.authentication.k.F2(SourceFile:74)
at it.ipzs.cieid.authentication.k.k2(Unknown Source:0)
at it.ipzs.cieid.authentication.a.d(Unknown Source:4)
at androidx.lifecycle.LiveData.d(SourceFile:30)
at androidx.lifecycle.LiveData.e(SourceFile:16)
at androidx.lifecycle.LiveData$c.f(SourceFile:24)
at androidx.lifecycle.LiveData$LifecycleBoundObserver.c(SourceFile:30)
at androidx.lifecycle.q$a.a(SourceFile:15)
at androidx.lifecycle.q.g(SourceFile:70)
at androidx.lifecycle.q.p(SourceFile:73)
at androidx.lifecycle.q.l(SourceFile:20)
at androidx.lifecycle.q.h(SourceFile:10)
at androidx.fragment.app.a0.b(Unknown Source:2)
at androidx.fragment.app.Fragment.w1(SourceFile:38)
at androidx.fragment.app.u.v(SourceFile:34)
at androidx.fragment.app.u.m(SourceFile:69)
at androidx.fragment.app.v.r(SourceFile:31)
at androidx.fragment.app.FragmentManager.P0(SourceFile:33)
at androidx.fragment.app.FragmentManager.S(SourceFile:10)
at androidx.fragment.app.FragmentManager.R(SourceFile:12)
at androidx.fragment.app.h.q(Unknown Source:4)
at androidx.fragment.app.e.onStart(SourceFile:38)
at androidx.appcompat.app.d.onStart(SourceFile:1)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1601)
at android.app.Activity.performStart(Activity.java:8790)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4056)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:230)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:210)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:182)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2643)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
2024-09-16 14:40:34.260 32169-32169 UncaughtException it.ipzs.cieid E java.lang.IndexOutOfBoundsException: setSpan (-1 ... 15) starts before 0 (Ask Gemini)
at android.text.SpannableStringInternal.checkRange(SpannableStringInternal.java:499)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:199)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:186)
at android.text.SpannableString.setSpan(SpannableString.java:60)
at ja.e0.b(SourceFile:54)
at it.ipzs.cieid.authentication.k.F2(SourceFile:74)
at it.ipzs.cieid.authentication.k.k2(Unknown Source:0)
at it.ipzs.cieid.authentication.a.d(Unknown Source:4)
at androidx.lifecycle.LiveData.d(SourceFile:30)
at androidx.lifecycle.LiveData.e(SourceFile:16)
at androidx.lifecycle.LiveData$c.f(SourceFile:24)
at androidx.lifecycle.LiveData$LifecycleBoundObserver.c(SourceFile:30)
at androidx.lifecycle.q$a.a(SourceFile:15)
at androidx.lifecycle.q.g(SourceFile:70)
at androidx.lifecycle.q.p(SourceFile:73)
at androidx.lifecycle.q.l(SourceFile:20)
at androidx.lifecycle.q.h(SourceFile:10)
at androidx.fragment.app.a0.b(Unknown Source:2)
at androidx.fragment.app.Fragment.w1(SourceFile:38)
at androidx.fragment.app.u.v(SourceFile:34)
at androidx.fragment.app.u.m(SourceFile:69)
at androidx.fragment.app.v.r(SourceFile:31)
at androidx.fragment.app.FragmentManager.P0(SourceFile:33)
at androidx.fragment.app.FragmentManager.S(SourceFile:10)
at androidx.fragment.app.FragmentManager.R(SourceFile:12)
at androidx.fragment.app.h.q(Unknown Source:4)
at androidx.fragment.app.e.onStart(SourceFile:38)
at androidx.appcompat.app.d.onStart(SourceFile:1)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1601)
at android.app.Activity.performStart(Activity.java:8790)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4056)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:230)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:210)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:182)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2643)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
2024-09-16 14:40:34.266 32169-712 FirebaseCrash it.ipzs.cieid E Failed to report uncaught exception (Ask Gemini)
java.lang.SecurityException: getDataNetworkTypeForSubscriber
at android.os.Parcel.createExceptionOrNull(Parcel.java:3087)
at android.os.Parcel.createException(Parcel.java:3071)
at android.os.Parcel.readException(Parcel.java:3054)
at android.os.Parcel.readException(Parcel.java:2996)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:9420)
at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3227)
at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3191)
at m.cfy.a(:com.google.android.gms.dynamite_dynamitemodulesc@243660030@24.36.60 (190408-0):1515)
at com.google.firebase.crash.internal.api.FirebaseCrashApiImpl.b(:com.google.android.gms.dynamite_dynamitemodulesc@243660030@24.36.60 (190408-0):12)
at com.google.firebase.crash.internal.api.FirebaseCrashApiImpl.reportUncaughtException(:com.google.android.gms.dynamite_dynamitemodulesc@243660030@24.36.60 (190408-0):19)
at m.cfm.z(:com.google.android.gms.dynamite_dynamitemodulesc@243660030@24.36.60 (190408-0):136)
at m.qg.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc@243660030@24.36.60 (190408-0):21)
at android.os.Binder.transact(Binder.java:1207)
at y2.a.d(SourceFile:8)
at y2.k.h(SourceFile:9)
at y2.d.c(SourceFile:33)
at y2.c.run(SourceFile:30)
at y2.d.run(Unknown Source:0)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Ho provato con la versione precedente 1.7.12 e ho visto che li il problema non esiste. Sono riuscito a verificare senza problema. Dopo la attivazione si può anche aggiornare alla 1.7.13, perché il problema esiste solo quando si vuole verificare il dispositivo.
È possibile scaricare la versione precedente da uno dei seguenti link: