Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(spotify): Spotify force closes at runtime #1786

Closed
3 tasks done
edzamber opened this issue Nov 7, 2022 · 10 comments
Closed
3 tasks done

bug(spotify): Spotify force closes at runtime #1786

edzamber opened this issue Nov 7, 2022 · 10 comments
Labels
Bug report Something isn't working

Comments

@edzamber
Copy link

edzamber commented Nov 7, 2022

Type

Error at runtime

Bug description

Spotify is force closing at runtime

Steps to reproduce

Using patcher under linux and with Revanced Manager app

Relevant log output

FATAL EXCEPTION: main
Process: com.spotify.music, PID: 3064
java.lang.RuntimeException: Unable to create application com.spotify.music.SpotifyApplication: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object p.iki.get()' on a null object reference
 at android.app.ActivityThread.handleBindApplication(Unknown Source:1031)
 at android.app.ActivityThread.access$1700(Unknown Source:0)
 at android.app.ActivityThread$H.handleMessage(Unknown Source:785)
 at android.os.Handler.dispatchMessage(Unknown Source:19)
 at android.os.Looper.loopOnce(Unknown Source:167)
 at android.os.Looper.loop(Unknown Source:76)
 at android.app.ActivityThread.main(Unknown Source:107)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
 at com.android.internal.os.ZygoteInit.main(Unknown Source:330)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object p.iki.get()' on a null object reference
 at com.spotify.music.SpotifyApplication.onCreate(SourceFile:12)
 at android.app.Instrumentation.callApplicationOnCreate(Unknown Source:0)
 at android.app.ActivityThread.handleBindApplication(Unknown Source:891)
 ... 9 more

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@edzamber edzamber added the Bug report Something isn't working label Nov 7, 2022
@nikhilbadyal
Copy link

Why would you use revanced Spotify in the first place when xmanager is there ?

@Alaric323
Copy link

This bug still occurs; specifically trying to apply recording patch to allow operation with Rootless JamesDSP. Applying the patch causes the app to force close immediately on launch.

@oSumAtrIX
Copy link
Member

You will need to mount via root.

@Alaric323
Copy link

Don't have and can't root, as much as I'd like to. Hence Rootless JamesDSP. Their github said to try this patch.

@oSumAtrIX
Copy link
Member

Send crash logs.

@Alaric323
Copy link

How do I grab them? I'm assuming through ADB?

For reference, the current version of Spotify is v8.8.12.545. I apply only the "Disable Capture Restriction v0.0.2" plug in, and it succeeds in making the APK. Before install, I uninstall the original Spotify, then move back to ReVanced Manager and install the patched version. The patched version immediately crashes on startup.

@oSumAtrIX
Copy link
Member

oSumAtrIX commented Feb 24, 2023

Yeah, logcat works

@Alaric323
Copy link

logcat grep spotify.txt

Here's a grepped logcat searching for spotify only, includes uninstallation of the stock app.

@fr34kyn01535

This comment was marked as spam.

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title Spotify force closes at runtime bug(spotify): Spotify force closes at runtime Jun 24, 2023
@LisoUseInAIKyrios
Copy link
Contributor

I think this was fixed with e48f127

@revanced-bot revanced-bot transferred this issue from ReVanced/revanced-patches-template Dec 14, 2023
@oSumAtrIX oSumAtrIX transferred this issue from another repository Dec 14, 2023
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
# [2.167.0](ReVanced/revanced-patches@v2.166.0...v2.167.0) (2023-03-29)

### Bug Fixes

* **youtube/remember-playback-speed:**  allow to not remember playback speed ([ReVanced#1762](ReVanced/revanced-patches#1762)) ([49ec3e8](ReVanced/revanced-patches@59e66fe))
* **youtube/sponsorblock:** fix segments not skipping during background play ([ReVanced#1765](ReVanced/revanced-patches#1765)) ([7620ea1](ReVanced/revanced-patches@71801c0))
* **youtube/spoof-signature-verification:** fix audio during home feed video playback ([ReVanced#1754](ReVanced/revanced-patches#1754)) ([7dd067b](ReVanced/revanced-patches@b7d3ad7))

### Features

* `export-all-activities` patch ([ReVanced#1751](ReVanced/revanced-patches#1751)) ([aad6e05](ReVanced/revanced-patches@0332ed4))
* **reddit:** bump compatibility to `2023.10.0` ([ReVanced#1772](ReVanced/revanced-patches#1772)) ([f95ab6e](ReVanced/revanced-patches@20a4122))
* **twitter:** remove `monochrome-icon` patch ([ReVanced#1786](ReVanced/revanced-patches#1786)) ([b8bf804](ReVanced/revanced-patches@5bacf1a))
* **youtube/microg-support:** do not depend on `spoof-signature-verification` patch ([af4e765](ReVanced/revanced-patches@d370458))
* **youtube/spoof-signature-verification:** automatic signature spoofing ([f1395f4](ReVanced/revanced-patches@2096596))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants