microg / microg/GmsCore

Blendle app crash on launch

Open
#634 0 comments 0 reactions 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

Seeing a crash immediately on launch of the Blendle app.

Reproduces for me on my phone (lineage 14.1 for microg 0.2.6.13280) with a clean app install. Seems like app was working for me a few lineage/microg versions ago, but I don't have the exact version.

Partial logcat of exception below. Full logcat here: blendle-crash.txt

[10-07 23:58:36.261 29791:29791 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.blendle.app, PID: 29791
java.lang.RuntimeException: Unable to create application com.blendle.app.BlendleApplication: java.lang.NullPointerException: Attempt to invoke interface method 'com.google.android.gms.cast.framework.zzp com.google.android.gms.cast.framework.zzj.zzx()' on a null object reference
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5451)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1564)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'com.google.android.gms.cast.framework.zzp com.google.android.gms.cast.framework.zzj.zzx()' on a null object reference
at com.google.android.gms.cast.framework.CastContext.(Unknown Source)
at com.google.android.gms.cast.framework.CastContext.getSharedInstance(Unknown Source)
at com.blendle.app.BlendleApplication.onCreate(BlendleApplication.java:111)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5448)
... 8 more

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 clean-install launch failure on the reported LineageOS/microG setup and reading the attached blendle-crash.txt alongside the CastContext stack trace. The report names BlendleApplication.onCreate at line 111 as the caller; done means the Blendle app no longer crashes immediately on launch.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.