technogeek00
Member
- Joined
- Jul 15, 2011
- Messages
- 59
- Reaction score
- 0
Whenever I try to create an album with the default Gallery the application crashes. I can figure out what is wrong and the error produced doesn't make much sense:
The filename it references has no correlation with the file I had selected, infact that file doesn't exist anywhere on the phone. I also checked the read/write permissions on the folder it is trying to create the albums in and it is set to read and write.
So does anyone have any suggestions as to the cause? lol
Cheers,
Zack
Code:
07-21 00:22:31.453: INFO/MediaStoreExtension(699): query()::uri =content://com.motorola.media.extensions/external/media_extension_albums table=800
07-21 00:22:31.453: VERBOSE/DEBUG(699): query = SELECT _id, album_title, album_caption, album_description, album_date_created, album_date_modified, album_count_images, album_count_videos, album_location, album_cover_uri, 'LOCAL' AS provider FROM motorola_media_albums ORDER BY UPPER (album_title) COLLATE LOCALIZED ASC
07-21 00:22:31.734: DEBUG/AndroidRuntime(2459): Shutting down VM
07-21 00:22:31.734: WARN/dalvikvm(2459): threadid=1: thread exiting with uncaught exception (group=0x4001e560)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): FATAL EXCEPTION: main
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): java.lang.NumberFormatException: 21969_106458272698751_100000037360888_180221_6188917_s.jpg
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at java.lang.Long.parse(Long.java:353)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at java.lang.Long.parseLong(Long.java:344)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at java.lang.Long.parseLong(Long.java:311)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.content.ContentUris.parseId(ContentUris.java:41)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.connectedMedia.cache.LRUBitmapCache.loadOrGenerateThumbnailsForMediaStoreDb(LRUBitmapCache.java:453)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.connectedMedia.cache.LRUBitmapCache$BitmapCachePartition.loadOrGenerateThumbnailIfPossible(LRUBitmapCache.java:273)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.connectedMedia.cache.LRUBitmapCache$BitmapCachePartition.lookup(LRUBitmapCache.java:257)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.connectedMedia.cache.LRUBitmapCache$BitmapCachePartition.lookupAndSchedule(LRUBitmapCache.java:280)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.connectedMedia.cache.LRUBitmapCache.getBitmap(LRUBitmapCache.java:662)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.cgallery.AlbumEdit$AddAlbumAdapter.fill_stack_image_count(AlbumEdit.java:962)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.cgallery.AlbumEdit$AddAlbumAdapter.fill_data_from_cursor(AlbumEdit.java:907)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.motorola.cgallery.AlbumEdit$AddAlbumAdapter.getView(AlbumEdit.java:1037)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.AbsListView.obtainView(AbsListView.java:1435)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.GridView.makeAndAddView(GridView.java:1231)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.GridView.makeRow(GridView.java:277)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.GridView.fillSpecific(GridView.java:475)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.GridView.layoutChildren(GridView.java:1134)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.AbsListView.onLayout(AbsListView.java:1286)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.View.layout(View.java:7184)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.View.layout(View.java:7184)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.View.layout(View.java:7184)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.View.layout(View.java:7184)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.ViewRoot.performTraversals(ViewRoot.java:1177)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.view.ViewRoot.handleMessage(ViewRoot.java:1911)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.os.Handler.dispatchMessage(Handler.java:99)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.os.Looper.loop(Looper.java:130)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at android.app.ActivityThread.main(ActivityThread.java:3821)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at java.lang.reflect.Method.invokeNative(Native Method)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at java.lang.reflect.Method.invoke(Method.java:507)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
07-21 00:22:31.742: ERROR/AndroidRuntime(2459): at dalvik.system.NativeStart.main(Native Method)
07-21 00:22:31.742: WARN/ActivityManager(250): Force finishing activity com.motorola.blurgallery/com.motorola.cgallery.AlbumEdit
07-21 00:22:31.773: WARN/ApplicationContext(250): Unable to create files directory
07-21 00:22:32.250: WARN/ActivityManager(250): Activity pause timeout for HistoryRecord{40cef860 com.motorola.blurgallery/com.motorola.cgallery.AlbumEdit}
The filename it references has no correlation with the file I had selected, infact that file doesn't exist anywhere on the phone. I also checked the read/write permissions on the folder it is trying to create the albums in and it is set to read and write.
So does anyone have any suggestions as to the cause? lol
Cheers,
Zack