App crash with new mapbox
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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