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

NPE on low memory #351

Closed
matthewmichihara opened this issue Feb 24, 2015 · 1 comment
Closed

NPE on low memory #351

matthewmichihara opened this issue Feb 24, 2015 · 1 comment
Labels

Comments

@matthewmichihara
Copy link

Ran into the following a few times --

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bumptech.glide.RequestManager.onLowMemory()' on a null object reference
       at com.bumptech.glide.manager.SupportRequestManagerFragment.onLowMemory(SupportRequestManagerFragment.java:72)
       at android.support.v4.app.Fragment.performLowMemory(Fragment.java:1848)
       at android.support.v4.app.FragmentManagerImpl.dispatchLowMemory(FragmentManager.java:1976)
       at android.support.v4.app.Fragment.performLowMemory(Fragment.java:1850)
       at android.support.v4.app.FragmentManagerImpl.dispatchLowMemory(FragmentManager.java:1976)
       at android.support.v4.app.Fragment.performLowMemory(Fragment.java:1850)
       at android.support.v4.app.FragmentManagerImpl.dispatchLowMemory(FragmentManager.java:1976)
       at android.support.v4.app.FragmentActivity.onLowMemory(FragmentActivity.java:342)
       at android.app.ActivityThread.handleLowMemory(ActivityThread.java:4191)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1403)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:135)
       at android.app.ActivityThread.main(ActivityThread.java:5221)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Unfortunately, I don't have a deterministic way to reproduce. This occurred on my 1st generation Moto G, Lollipop 5.0.1. I'm using Glide version 3.5.1. Let me know if there's other info I can provide.

@matthewmichihara
Copy link
Author

Ah sorry I just saw #329, upgrading to 3.5.2 and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants