khalidkhan020 / transdroid

Automatically exported from code.google.com/p/transdroid
GNU General Public License v3.0
0 stars 0 forks source link

when long pressing on file in torrent #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
in a running torrent, select the torrent to get the list of files within
long tap a file
select high priority
crash
01-06 18:27:53.668 D/Transdroid(12152): Transdroid: Queue: Task queue pausing 
(queue empty)
01-06 18:28:25.138 E/AndroidRuntime(12152): FATAL EXCEPTION: main
01-06 18:28:25.138 E/AndroidRuntime(12152): 
java.lang.IndexOutOfBoundsException: Invalid index 3, size is 1
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
java.util.ArrayList.get(ArrayList.java:304)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
org.transdroid.gui.util.ArrayAdapter.getItem(ArrayAdapter.java:237)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
org.transdroid.gui.TorrentsFragment.onContextItemSelected(TorrentsFragment.java:
676)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
android.support.v4.app.FragmentManagerImpl.dispatchContextItemSelected(FragmentM
anager.java:1864)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java
:653)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
com.android.internal.policy.impl.PhoneWindow$DialogMenuCallback.onMenuItemSelect
ed(PhoneWindow.java:3521)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.
java:735)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:149)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at 
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:87
4)
01-06 18:28:25.138 E/AndroidRuntime(12152):     at com.android.internal.view.

What version of the product are you using?
latest

What torrent client are you using?
transmission

Original issue reported on code.google.com by pa...@paour.com on 6 Jan 2013 at 5:41

GoogleCodeExporter commented 9 years ago
I can't reproduce this. Any specific case with 1 or many files? Or a specific 
torrent even?

Original comment by erickok@gmail.com on 16 Jan 2013 at 3:49

GoogleCodeExporter commented 9 years ago
It was a torrent with very many files, in several directories.

I indeed can't reproduce it with the torrents I currently have in my queue.

Original comment by pa...@paour.com on 18 Jan 2013 at 12:30

GoogleCodeExporter commented 9 years ago
Will close for now as I am unable to reproduce.

Original comment by erickok@gmail.com on 20 Jan 2013 at 1:26