Letme / give-me-coinsMonitoringApp

Android app for monitoring workers on give-me-coins.com mining pool.
GNU General Public License v3.0
24 stars 21 forks source link

Crash: IndexOutOfBoundsException after QR code scanned #9

Closed justinmuller closed 10 years ago

justinmuller commented 10 years ago

java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at com.android.internal.app.ActionBarImpl.setSelectedNavigationItem(ActionBarImpl.java:368) at give_me_coins.dashboard.MainScreen$7.onPageSelected(MainScreen.java:248) at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:567) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:551) at android.support.v4.view.ViewPager.onTouchEvent(ViewPager.java:2008) ...

justinmuller commented 10 years ago

I would be happy to look into this issue if you are accepting contributions.

Letme commented 10 years ago

Well it is not really hard to tell what the issue is or where it occurs due to your crash report, but if you want to contribute just create a pull request and we'll accept it. That is why we put code as opensource and on github.

On Fri, Nov 29, 2013 at 3:12 AM, Justin Muller notifications@github.comwrote:

I would be happy to look into this issue if you are accepting contributions.

— Reply to this email directly or view it on GitHubhttps://github.com/Letme/give-me-coinsMonitoringApp/issues/9#issuecomment-29492527 .

justinmuller commented 10 years ago

I have been able to reproduce this by scanning the QR code twice (note that the tabs are missing after the second scan) and then making a swiping gesture.

Letme commented 10 years ago

Ok, thanks for fix and welcome aboard! ;)