GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Minor chromecast ConcurrentModificationException

Open valerierx opened this issue 1 year ago • 2 comments
trafficstars

Describe the bug This bug may be related to MicroG not picking up any Chromecast devices, or a missing verification in the code.

To Reproduce Steps to reproduce the behavior:

  1. Connect to a WiFi network with a Chromecast enabled device
  2. This error gets picked up in logcat

Expected behavior

System Android Version: 14 Custom ROM: LineageOS for MicroG

Additional context

FATAL EXCEPTION: main
Process: com.google.android.gms, PID: 4352
java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1574)
	at java.util.HashMap$ValueIterator.next(HashMap.java:1602)
	at org.microg.gms.cast.CastMediaRouteProvider.publishRoutes(CastMediaRouteProvider.java:329)
	at org.microg.gms.cast.CastMediaRouteProvider.access$500(CastMediaRouteProvider.java:54)
	at org.microg.gms.cast.CastMediaRouteProvider$2.run(CastMediaRouteProvider.java:322)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8501)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

valerierx avatar Jul 17 '24 00:07 valerierx

Experiencing the same on Android 15, usually upon opening the Google Home app.

harpality avatar Nov 17 '24 06:11 harpality

Have the same issue. It is highly reproducible when opening the Google Home app. On a Pixel 9 Pro Android 15. A reinstall does not resolve it.

shiv81 avatar Nov 30 '24 17:11 shiv81

Confirming this issue and it is incredibly annoying. I use the Google home app often and this error pops up almost every time.

Jman100 avatar Mar 24 '25 09:03 Jman100