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

crash log- java.lang.IllegalArgumentException: Cannot draw recycled bitmaps #31

Open
ouyangj0 opened this issue Nov 12, 2014 · 3 comments

Comments

@ouyangj0
Copy link

E/AndroidRuntime(25667): FATAL EXCEPTION: main

E/AndroidRuntime(25667): java.lang.IllegalArgumentException: Cannot draw recycled bitmaps

E/AndroidRuntime(25667): at android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:778)

E/AndroidRuntime(25667): at android.view.GLES20RecordingCanvas.drawBitmap(GLES20RecordingCanvas.java:117)

E/AndroidRuntime(25667): at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393)

E/AndroidRuntime(25667): at android.widget.ImageView.onDraw(ImageView.java:979)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13494)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13378)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13497)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13378)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13376)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.widget.ListView.drawChild(ListView.java:3226)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.widget.AbsListView.dispatchDraw(AbsListView.java:2437)

E/AndroidRuntime(25667): at android.widget.ListView.dispatchDraw(ListView.java:3221)

E/AndroidRuntime(25667): at android.widget.ExpandableListView.dispatchDraw(ExpandableListView.java:232)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13497)

E/AndroidRuntime(25667): at android.widget.AbsListView.draw(AbsListView.java:3770)

E/AndroidRuntime(25667): at dxoptimizer.wz.dispatchDraw(AnimatedExpandableListView.java:526)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13497)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12440)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.widget.ListView.drawChild(ListView.java:3226)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.widget.AbsListView.dispatchDraw(AbsListView.java:2437)

E/AndroidRuntime(25667): at android.widget.ListView.dispatchDraw(ListView.java:3221)

E/AndroidRuntime(25667): at android.widget.ExpandableListView.dispatchDraw(ExpandableListView.java:232)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13608)

E/AndroidRuntime(25667): at android.widget.AbsListView.draw(AbsListView.java:3770)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12440)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12484)

E/AndroidRuntime(25667): at android.view.View.draw(View.java:13218)

E/AndroidRuntime(25667): at android.view.ViewGroup.drawChild(ViewGroup.java:2930)

E/AndroidRuntime(25667): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2799)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.java:12438)

E/AndroidRuntime(25667): at android.view.View.getDisplayList(View.jav

@ouyangj0
Copy link
Author

hello,idunnololz,
Thanks for your work first! I use this AnimatedExpandableListView and it works very well.
Today we found an exception. The log is on the top.
Need your help.
Thanks!

1 similar comment
@ouyangj0
Copy link
Author

hello,idunnololz,
Thanks for your work first! I use this AnimatedExpandableListView and it works very well.
Today we found an exception. The log is on the top.
Need your help.
Thanks!

@idunnololz
Copy link
Owner

Can you please provide some source code or some insight into what you are using the ExpandableListView for? It will help debug the issue faster. Thanks.

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

No branches or pull requests

2 participants