[myTouch 4G Android Development] hnt20:
Gallery through Clock keeps FC'ing

I keep hitting FC's when accessing the gallery via the clock [tools--> clock-->gallery]

i have collected a logcat attached to this thread, can you lease check?

I/ActivityManager( 1461): Starting: Intent { act=android.intent.action.VIEW dat=content://media/external/images/media flg=0x14000000 cmp=com.android.gallery/.ui.FolderViewActivity (has extras) } from pid 1773

I/ActivityManager( 1461): Start proc com.android.gallery for activity com.android.gallery/.ui.FolderViewActivity: pid=1984 uid=10029 gids={1015, 3003}

D/szipinf ( 1984): Initializing inflate state

D/dalvikvm( 1984): GC_CONCURRENT freed 401K, 54% free 2597K/5639K, external 0K/0K, paused 3ms+2ms

I/xpicture/MediaCache( 1984): MIUI gallery is started

W/System.err( 1984): java.lang.NullPointerException

W/System.err( 1984):	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)

W/System.err( 1984):	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)

W/System.err( 1984):	at com.android.gallery.data.BucketExt.init(BucketExt.java:89)

W/System.err( 1984):	at com.android.gallery.data.BucketExt.<clinit>(BucketExt.java:75)

W/System.err( 1984):	at com.android.gallery.ui.FolderViewActivity.<init>(FolderViewActivity.java:63)

W/System.err( 1984):	at java.lang.Class.newInstanceImpl(Native Method)

W/System.err( 1984):	at java.lang.Class.newInstance(Class.java:1409)

W/System.err( 1984):	at android.app.Instrumentation.newActivity(Instrumentation.java:1021)

W/System.err( 1984):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)

W/System.err( 1984):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1671)

W/System.err( 1984):	at android.app.ActivityThread.access$1500(ActivityThread.java:117)

W/System.err( 1984):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

W/System.err( 1984):	at android.os.Handler.dispatchMessage(Handler.java:99)

W/System.err( 1984):	at android.os.Looper.loop(Looper.java:123)

W/System.err( 1984):	at android.app.ActivityThread.main(ActivityThread.java:3691)

W/System.err( 1984):	at java.lang.reflect.Method.invokeNative(Native Method)

W/System.err( 1984):	at java.lang.reflect.Method.invoke(Method.java:507)

W/System.err( 1984):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)

W/System.err( 1984):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)

W/System.err( 1984):	at dalvik.system.NativeStart.main(Native Method)

D/dalvikvm( 1461): GC_EXPLICIT freed 932K, 49% free 4780K/9351K, external 4158K/4460K, paused 49ms

D/xpicture/MediaCache( 1984): media DB notification comes

D/xpicture/MediaCache( 1984): media DB notification comes

D/xpicture/MediaCache( 1984): media DB notification comes

D/xpicture/MediaCache( 1984): media DB notification comes

D/dalvikvm( 1984): GC_EXTERNAL_ALLOC freed 53K, 54% free 2621K/5639K, external 0K/0K, paused 36ms

D/AndroidRuntime( 1984): Shutting down VM

W/dalvikvm( 1984): threadid=1: thread exiting with uncaught exception (group=0x40015560)

E/AndroidRuntime( 1984): FATAL EXCEPTION: main

E/AndroidRuntime( 1984): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.gallery/com.android.gallery.ui.FolderViewActivity}: java.lang.NullPointerException

E/AndroidRuntime( 1984):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1655)

E/AndroidRuntime( 1984):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1671)

E/AndroidRuntime( 1984):	at android.app.ActivityThread.access$1500(ActivityThread.java:117)

E/AndroidRuntime( 1984):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)

E/AndroidRuntime( 1984):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 1984):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 1984):	at android.app.ActivityThread.main(ActivityThread.java:3691)

E/AndroidRuntime( 1984):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 1984):	at java.lang.reflect.Method.invoke(Method.java:507)

E/AndroidRuntime( 1984):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)

E/AndroidRuntime( 1984):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)

E/AndroidRuntime( 1984):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1984): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 1984):	at com.android.gallery.ui.FolderViewActivity.onCreate(FolderViewActivity.java:128)

E/AndroidRuntime( 1984):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

E/AndroidRuntime( 1984):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1619)

E/AndroidRuntime( 1984):	... 11 more

W/ActivityManager( 1461): Force finishing activity com.android.gallery/.ui.FolderViewActivity

W/ActivityManager( 1461): Force finishing activity com.android.deskclock/.DeskClock

W/ActivityManager( 1461): Activity pause timeout for HistoryRecord{4070cc98 com.android.gallery/.ui.FolderViewActivity}

D/dalvikvm( 1557): GC_EXTERNAL_ALLOC freed 46K, 56% free 3061K/6855K, external 15255K/15262K, paused 29ms

D/dalvikvm( 1692): GC_EXPLICIT freed 266K, 55% free 2644K/5831K, external 93K/521K, paused 41ms

I/AlarmManager( 1461): wakelock acquire, uid:1000 at elapsed real time: 257708

I/AlarmManager( 1461): wakelock release, uid:1000 at elapsed real time: 257732

I/Process ( 1984): Sending signal. PID: 1984 SIG: 9

I/ActivityManager( 1461): Process com.android.gallery (pid 1984) has died.