View Issue Details

IDProjectCategoryView StatusLast Update
0011146MMANavigationpublic2015-01-11 01:11
Reportermarek Assigned To 
PriorityurgentSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.0.4 
Target Version1.1.0Fixed in Version1.1.0 
Summary0011146: Listing of directory content causes sometimes ANR
DescriptionBrowsing dirs that should be included in library causes ANR. Some dirs has probably too many subdirs/files and listing of content is too long.
Additional Informationat libcore.io.Posix.stat(Native Method)
at libcore.io.ForwardingOs.stat(ForwardingOs.java:118)
at java.io.File.isDirectory(File.java:531)
at com.ventismedia.android.mediamonkeybeta.storage.DirectoryAdapter$1.accept(DirectoryAdapter.java:64)
at java.io.File.listFiles(File.java:832)
at com.ventismedia.android.mediamonkeybeta.storage.StorageAdapter$DirectoryItem.hasContent(StorageAdapter.java:173)
at com.ventismedia.android.mediamonkeybeta.preferences.IncludedDirectoriesFragment$IncludedDirectoryItem.hasContent(IncludedDirectoriesFragment.java:209)
at com.ventismedia.android.mediamonkeybeta.preferences.IncludedDirectoriesFragment$IncludedDirectoriesAdapter.getView(IncludedDirectoriesFragment.java:342)
TagsNo tags attached.
Fixed in build363

Activities

martin

2013-09-09 09:13

developer   ~0037445

Fixed in build 163.

rusty

2013-09-13 02:05

administrator   ~0037502

Verified 163.

jiri

2014-01-02 14:10

administrator   ~0039083

Received few similar reports from MMA build 204:

at libcore.io.Posix.stat(Native Method)
at libcore.io.ForwardingOs.stat(ForwardingOs.java:119)
at java.io.File.isDirectory(File.java:531)
at com.ventismedia.android.mediamonkey.storage.DirectoryAdapter$1.accept(DirectoryAdapter.java:64)
at java.io.File.listFiles(File.java:832)
at com.ventismedia.android.mediamonkey.storage.StorageAdapter$DirectoryItem.hasContent(StorageAdapter.java:173)
at com.ventismedia.android.mediamonkey.preferences.IncludedDirectoriesFragment$IncludedDirectoryItem.hasContent(IncludedDirectoriesFragment.java:210)
at com.ventismedia.android.mediamonkey.preferences.IncludedDirectoriesFragment$IncludedDirectoriesAdapter.processBrowsability(IncludedDirectoriesFragment.java:387)
at com.ventismedia.android.mediamonkey.preferences.IncludedDirectoriesFragment$IncludedDirectoriesAdapter.getView(IncludedDirectoriesFragment.java:380)
at android.widget.AbsListView.obtainView(AbsListView.java:2255)
at android.widget.ListView.makeAndAddView(ListView.java:1813)
at android.widget.ListView.fillDown(ListView.java:688)
at android.widget.ListView.fillDown(ListView.java:667)
at android.widget.ListView.fillGap(ListView.java:641)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5040)
at android.widget.AbsListView.scrollIfNeeded(AbsListView.java:3197)
at android.widget.AbsListView.onTouchEvent(AbsListView.java:3471)
at android.view.View.dispatchTouchEvent(View.java:7190)

jiri

2014-01-02 14:17

administrator   ~0039084

Leaving assigned to Martin with a lower priority (to process these things asynchronously).

rusty

2014-11-25 22:36

administrator   ~0041151

Last edited: 2014-11-25 22:37

Is this still an issue in 1.1.0?

martin

2014-11-27 16:24

developer   ~0041183

yes

martin

2015-01-09 17:16

developer   ~0041628

Fixed in build 1.1.0.363

rusty

2015-01-11 01:11

administrator   ~0041636

Tested 363. No regressions observed.