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

Avoid NPE when recycling#94

Merged
mathew-kurian merged 1 commit into
mathew-kurian:masterfrom
Syhids:master
Aug 18, 2015
Merged

Avoid NPE when recycling#94
mathew-kurian merged 1 commit into
mathew-kurian:masterfrom
Syhids:master

Conversation

@Syhids

@Syhids Syhids commented Aug 17, 2015

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Owner

Thank you

@mathew-kurian

Copy link
Copy Markdown
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