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

Null pointer exception when calling Disconnect #200

Open
MitchVonBrumen opened this issue Sep 12, 2023 · 0 comments
Open

Null pointer exception when calling Disconnect #200

MitchVonBrumen opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MitchVonBrumen
Copy link

MitchVonBrumen commented Sep 12, 2023

Is this a how to question?
No
If Yes, please use Stack Overflow instead.

Is this a native Spotify SDK issue?
No

Have you searched for existing issues?
Yes

Are you using a Free or Premium Spotify account?
Free

Are you aware of the limitations of Free Spotify accounts?
Yes

Expected behavior
User is disconnected from Spotify when disconnect method is called.

Describe the bug
Got a java null pointer exception when calling disconnect

Steps to Reproduce

  1. Log in the user
  2. Call disconnect
  3. See error:
    Error while deleting user: PlatformException(error, null, null, java.lang.NullPointerException
    I/flutter (18388): at de.minimalme.spotify_sdk.SpotifySdkPlugin.disconnectFromSpotify(SpotifySdkPlugin.kt:349)
    I/flutter (18388): at de.minimalme.spotify_sdk.SpotifySdkPlugin.onMethodCall(SpotifySdkPlugin.kt:177)
    I/flutter (18388): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)

Spotify_sdk Flutter package version
2.3.1

Target Platform, Version & Device

  • OS & Version: Android 9
  • Device: Pixel 6

Development OS
Windows

@MitchVonBrumen MitchVonBrumen added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant