microg / microg/GmsCore

[Mapbox] Starbucks app crashes

Open
#870 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Reproduce:

  1. Open starbucks
  2. Go to stores
  3. Wait a few seconds
FATAL EXCEPTION: androidmapsapi-ula-1
Process: com.starbucks.mobilecard, PID: 18881
java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] com.google.android.gms.common.internal.CertData.getBytes()' on a null object reference
	at com.google.android.gms.common.GoogleCertificatesImpl.isGoogleOrPlatformSigned(GoogleCertificatesImpl.java:58)
	at com.google.android.gms.common.internal.IGoogleCertificatesApi$Stub.onTransact(IGoogleCertificatesApi.java:98)
	at android.os.Binder.transact(Binder.java:667)
	at com.google.android.m4b.maps.c.a.a(:10)
	at com.google.android.m4b.maps.m.au.a(:6)
	at com.google.android.m4b.maps.h.i.a(:30)
	at com.google.android.m4b.maps.h.i.a(:22)
	at com.google.android.m4b.maps.h.u.a(:34)
	at com.google.android.m4b.maps.h.u.a(:19)
	at com.google.android.m4b.maps.bo.ep.a(:110)
	at com.google.android.m4b.maps.bo.et.a(:4)
	at com.google.android.m4b.maps.bo.er.run(:25)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:764)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in the Starbucks app by opening Stores and waiting, then trace the reported path through GoogleCertificatesImpl.isGoogleOrPlatformSigned and the com.google.android.m4b.maps stack. Confirm the relevant GmsCore implementation and test setup before making changes; done means the Stores view no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.