microg / microg/GmsCore

App crash with new mapbox

Open
#1,176 18 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://play.google.com/store/apps/details?id=citybus.guidejet.com , map fails to show.

09-11 08:58:14.931 29246 29246 D AndroidRuntime: Shutting down VM
09-11 08:58:14.934 29246 29246 E AndroidRuntime: FATAL EXCEPTION: main
09-11 08:58:14.934 29246 29246 E AndroidRuntime: Process: citybus.guidejet.com, PID: 29246
09-11 08:58:14.934 29246 29246 E AndroidRuntime: java.lang.RuntimeException: Unable to pause activity {citybus.guidejet.com/citybus.guidejet.com.SchemeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3753)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3719)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3693)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3667)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.-wrap16(ActivityThread.java)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1491)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6130)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at citybus.guidejet.com.ApplicationState.o(Unknown Source)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at citybus.guidejet.com.SchemeActivity.onPause(Unknown Source)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.Activity.performPause(Activity.java:6863)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1323)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3742)
09-11 08:58:14.934 29246 29246 E AndroidRuntime: 	... 12 more
09-11 08:58:14.971 29246 29246 I Process : Sending signal. PID: 29246 SIG: 9

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 map failure from the linked Google Play app and review the provided Android crash log. The reported path is SchemeActivity.onPause calling ApplicationState.o, where a null Date causes the crash, but no source file or test is identified. Done means the map displays without the pause-time NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
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.