Crash when ChildProcessConnection.onServiceConnectedOnLauncherThread

34 views
Skip to first unread message

zhun li

unread,
Dec 10, 2025, 11:47:36 AM (7 days ago) Dec 10
to android-webview-dev
Hi:
I'm facing a crash in Parcel, but have no clues.
Do we have any idea about this issue?

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.util.SparseArray.get(int)' on a null object reference at android.os.Parcel.readSquashed(Parcel.java:2945) at android.content.pm.ApplicationInfo$1.createFromParcel(ApplicationInfo.java:2339) at android.content.pm.ApplicationInfo$1.createFromParcel(ApplicationInfo.java:2336) at org.chromium.base.process_launcher.IChildProcessService$_Parcel.readTypedObject(IChildProcessService.java:346) at org.chromium.base.process_launcher.IChildProcessService$Stub$Proxy.getAppInfo(IChildProcessService.java:213) at org.chromium.base.process_launcher.ChildProcessConnection.onServiceConnectedOnLauncherThread(ChildProcessConnection.java:657) at org.chromium.base.process_launcher.ChildProcessConnection$2.onServiceConnected(ChildProcessConnection.java:400) at org.chromium.base.process_launcher.ChildServiceConnectionImpl.onServiceConnected(ChildServiceConnectionImpl.java:122) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2284) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2317) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:249) at android.os.Looper.loop(Looper.java:337) at android.os.HandlerThread.run(HandlerThread.java:85)

Nate Fischer

unread,
Dec 10, 2025, 5:54:05 PM (6 days ago) Dec 10
to zhun li, bo...@chromium.org, android-webview-dev
Maybe +bo...@chromium.org has seen this before?

Does this crash happen consistently every time you launch your code, or is it flaky? Are you just running a standard system WebView APK build or are you embedding this code in your app in some other way?

Nate Fischer | Software Engineer | ntf...@google.com



--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/21c18b78-50b2-4d95-828f-ea6c4cc03764n%40chromium.org.

zhun li

unread,
Dec 10, 2025, 8:21:55 PM (6 days ago) Dec 10
to android-webview-dev, ntf...@google.com, android-webview-dev, zhun li, bo...@chromium.org
Not consistently, in a small chance; I'm not running stardard system webview apk, it's a browser for android based on android_webview.
Reply all
Reply to author
Forward
0 new messages