Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Attempt to invoke virtual method 'android.content.Context android.app.Activity.getApplicationContext()' on a null object reference #4

Open
mohammadne opened this issue Nov 9, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mohammadne
Copy link

before I use flutter downloader package it worked correctly.
i am already use flutter downloader in my app but your package throw this error.

E/AudioplayersPlugin(31951): Unexpected error!
E/AudioplayersPlugin(31951): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.app.Activity.getApplicationContext()' on a null object reference
.
.
.
E/MethodChannel#xyz.luan/audioplayers(31951): java.lang.IllegalArgumentException: Unsupported value: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.app.Activity.getApplicationContext()' on a null object reference

what do I should Do ?

@aliyazdi75
Copy link
Owner

It's not MediaNotification error and related to Audioplayers.
We already use this package with flutter downloader.
Could you please tell me more about this situation leads to this error?

@aliyazdi75
Copy link
Owner

I found out the problem and I will fix it soon.

@aliyazdi75 aliyazdi75 self-assigned this Nov 23, 2019
@aliyazdi75 aliyazdi75 added the bug Something isn't working label Nov 23, 2019
@FallenRiteMonk
Copy link

@aliyazdi75 what is the status on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants