Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Conversation

@Syhids
Copy link
Contributor

@Syhids Syhids commented Aug 17, 2015

I just got this exception from my app:

java.lang.NullPointerException
at com.bluejamesbond.text.DocumentView$CacheBitmap.recycle(DocumentView.java:857)
at com.bluejamesbond.text.DocumentView.destroyCache(DocumentView.java:672)
at com.bluejamesbond.text.DocumentView.freeResources(DocumentView.java:662)
at com.bluejamesbond.text.DocumentView.onDetachedFromWindow(DocumentView.java:509)
at android.view.View.dispatchDetachedFromWindow(View.java:12787)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2706)

I just got this exception from my app:

java.lang.NullPointerException
       at com.bluejamesbond.text.DocumentView$CacheBitmap.recycle(DocumentView.java:857)
       at com.bluejamesbond.text.DocumentView.destroyCache(DocumentView.java:672)
       at com.bluejamesbond.text.DocumentView.freeResources(DocumentView.java:662)
       at com.bluejamesbond.text.DocumentView.onDetachedFromWindow(DocumentView.java:509)
       at android.view.View.dispatchDetachedFromWindow(View.java:12787)
       at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2706)
mathew-kurian pushed a commit that referenced this pull request Aug 18, 2015
Avoid NPE when recycling
@mathew-kurian mathew-kurian merged commit de7217c into mathew-kurian:master Aug 18, 2015
@mathew-kurian
Copy link
Owner

Thank you

@mathew-kurian
Copy link
Owner

Released v2.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants