TonicArtos / StickyGridHeaders

This project has been superseded by SuperSLiM, a layout manager for RecyclerView. I strongly recommend using SuperSLiM and not StickyGridHeaders.
http://tonicartos.com
Apache License 2.0
1.47k stars 441 forks source link

java.lang.StackOverflowError when used with testdroid recorder eclipse plugin to record test cases #74

Closed bytekode closed 6 years ago

bytekode commented 11 years ago

Hi Team, I am using testdroid recorder eclipse plugin (http://testdroid.com/product/testdroid-recorder#0) to auto generate test cases BUT while recording a test case and when I try to scroll the StickGridHeaders grid view, I get following exception.

10-27 21:50:34.979: E/Crittercism(1611): java.lang.StackOverflowError 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.a.i.a(ScrollStateChangedAction.java:30) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.groupers.Grouper.processAction(Grouper.java:92) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.groupers.Grouper.processAction(Grouper.java:93) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.groupers.Grouper.processAction(Grouper.java:93) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.a.a(ListenerManager.java:294) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:48) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView.onScrollStateChanged(StickyGridHeadersGridView.java:267) 10-27 21:50:34.979: E/Crittercism(1611): at com.bitbar.testdroid.recording.a.n.onScrollStateChanged(RecordingScrollListener.java:52) 10-27 21:50:34.979: E/Crittercism(1611): at com.tonicartos.widget.s


Please help. Let me know if any thing is unclear or missing from my end. Thanks,

TonicArtos commented 11 years ago

Please check two things, does the problem exists in HEAD on master, and also, do you have the same error using a stock GridView.

bytekode commented 11 years ago

Ok, I'll check and try to update this thread asap

bytekode commented 11 years ago

Hi Tonic Artos, I just confirmed the problem exists in HEAD on master, and also I was NOT able to reproduce the same error using a stock GridView so may be library bug.

Please check.

Thanks :+1:

bytekode commented 11 years ago

Hi Tonic, Did you get chance to look into this issue?

TonicArtos commented 11 years ago

Sorry, life has been too hectic to find the time. I hope to be on the project again in about a month, once I've settled in a new country.