Fixed
Status Update
Comments
yb...@google.com <yb...@google.com>
yb...@google.com <yb...@google.com> #2
Hello,
Thank you for reaching out to us!
This issue seems to be outside of the scope of Issue Tracker. This Issue Tracker is a forum for end users to report bugs
and request features
on Google Cloud products. Please go through
I recommend you to
For now, I'm going to close this thread which will no longer be monitored. In case you want to report a new issue, please do not hesitate to create a new Issue Tracker describing your issue.
Thank you!
si...@google.com <si...@google.com> #3
Please include a sample app, meaningful summary, details about the device and Android version, and steps to reproduce the issue.
yb...@google.com <yb...@google.com> #4
To clarify, RecyclerView is easy to reproduce but we are not sure what you are doing w/ TextView.
yb...@google.com <yb...@google.com> #5
RecyclerView part will be fixed in the next release.
ni...@ansman.se <ni...@ansman.se> #6
I'm calling TextView#setInputType() when the view holder is being recycled, my TextView isn't extended or anything.
It seems like newer API version cause an issue.
It seems like newer API version cause an issue.
[Deleted User] <[Deleted User]> #7
Samsung's Android implementation has a static reference to a TextView (TextView.mLastHoveredView) which leaks context, it may be that.
pa...@gmail.com <pa...@gmail.com> #8
What is the fix for this crash ?
yb...@google.com <yb...@google.com>
pa...@gmail.com <pa...@gmail.com> #9
Any updates on this crash ? I am also facing this crash from last few months. Please let me know if there are any fixes for the crash
Description
Version used: 24.2.1
Stack trace:
Fatal Exception: java.lang.IllegalStateException: Already in the pool!
at android.support.v4.util.Pools$SimplePool.release(Pools.java:113)
at android.support.v7.widget.AdapterHelper.recycleUpdateOp(AdapterHelper.java:744)
at android.support.v7.widget.AdapterHelper.recycleUpdateOpsAndClearList(AdapterHelper.java:751)
at android.support.v7.widget.AdapterHelper.consumePostponedUpdates(AdapterHelper.java:124)
at android.support.v7.widget.AdapterHelper.consumeUpdatesInOnePass(AdapterHelper.java:558)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3309)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3124)
at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1539)
at android.support.v7.widget.RecyclerView.focusSearch(RecyclerView.java:2206)
at android.view.ViewGroup.focusSearch(ViewGroup.java:871)
at android.view.ViewGroup.focusSearch(ViewGroup.java:871)
at android.view.View.focusSearch(View.java:8649)
at android.widget.TextView.onCreateInputConnection(TextView.java:7327)
at android.support.design.widget.TextInputEditText.onCreateInputConnection(TextInputEditText.java:48)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1530)
at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:1792)
at android.view.inputmethod.InputMethodManager.restartInput(InputMethodManager.java:1460)
at android.widget.TextView.setInputType(TextView.java:5236)
at com.mypackage.MyAdapter.onViewRecycled(MyAdapter.java:91)
at android.support.v7.widget.RecyclerView$Recycler.dispatchViewRecycled(RecyclerView.java:5525)
at android.support.v7.widget.RecyclerView$Recycler.addViewHolderToRecycledViewPool(RecyclerView.java:5290)
at android.support.v7.widget.RecyclerView$Recycler.recycleCachedViewAt(RecyclerView.java:5220)
at android.support.v7.widget.RecyclerView$Recycler.viewRangeUpdate(RecyclerView.java:5643)
at android.support.v7.widget.RecyclerView.viewRangeUpdate(RecyclerView.java:3834)
at android.support.v7.widget.RecyclerView$6.markViewHoldersUpdated(RecyclerView.java:774)
at android.support.v7.widget.AdapterHelper.dispatchFirstPassAndUpdateViewHolders(AdapterHelper.java:322)
at android.support.v7.widget.AdapterHelper.dispatchAndUpdateViewHolders(AdapterHelper.java:302)
at android.support.v7.widget.AdapterHelper.applyUpdate(AdapterHelper.java:222)
at android.support.v7.widget.AdapterHelper.preProcess(AdapterHelper.java:106)
at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1536)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4389)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:628)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)