E/AndroidRuntime( 9783): java.lang.NullPointerException
E/AndroidRuntime( 9783): at org.tomdroid.sync.sd.SdCardSyncService.sync(SdCardSyncService.java:103)
E/AndroidRuntime( 9783): at org.tomdroid.sync.SyncService.startSynchronization(SyncService.java:75)
E/AndroidRuntime( 9783): at org.tomdroid.sync.SyncManager.startSynchronization(SyncManager.java:64)
E/AndroidRuntime( 9783): at org.tomdroid.ui.Actionbar$1.onClick(Actionbar.java:64)
E/AndroidRuntime( 9783): at android.view.View.performClick(View.java:2417)
E/AndroidRuntime( 9783): at android.view.View.onTouchEvent(View.java:4232)
E/AndroidRuntime( 9783): at android.view.View.dispatchTouchEvent(View.java:3762)
E/AndroidRuntime( 9783): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime( 9783): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime( 9783): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime( 9783): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/AndroidRuntime( 9783): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1713)
E/AndroidRuntime( 9783): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1131)
E/AndroidRuntime( 9783): at android.app.Activity.dispatchTouchEvent(Activity.java:2070)
E/AndroidRuntime( 9783): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1697)
E/AndroidRuntime( 9783): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
E/AndroidRuntime( 9783): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9783): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9783): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 9783): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9783): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
E/AndroidRuntime( 9783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
E/AndroidRuntime( 9783): at dalvik.system.NativeStart.main(Native Method)
I was able to reproduce first crash by uninstalling / reinstalling. Here's the stack trace:
D/ ( 9783): unable to unlink '/data/ data/org. tomdroid/ shared_ prefs/org. tomdroid_ preferences. xml.bak' : No such file or directory (errno=2)
...
V/WindowManager( 2249): Dsptch > Window{48104a18 org.tomdroid/ org.tomdroid. ui.Tomdroid paused=false} org.tomdroid. ui.Tomdroid paused=false}
...
V/WindowManager( 2249): Dsptch > Window{48104a18 org.tomdroid/
...
E/AndroidRuntime( 9783): java.lang. NullPointerExce ption sync.sd. SdCardSyncServi ce.sync( SdCardSyncServi ce.java: 103) sync.SyncServic e.startSynchron ization( SyncService. java:75) sync.SyncManage r.startSynchron ization( SyncManager. java:64) ui.Actionbar$ 1.onClick( Actionbar. java:64) view.View. performClick( View.java: 2417) view.View. onTouchEvent( View.java: 4232) view.View. dispatchTouchEv ent(View. java:3762) view.ViewGroup. dispatchTouchEv ent(ViewGroup. java:884) view.ViewGroup. dispatchTouchEv ent(ViewGroup. java:884) view.ViewGroup. dispatchTouchEv ent(ViewGroup. java:884) view.ViewGroup. dispatchTouchEv ent(ViewGroup. java:884) internal. policy. impl.PhoneWindo w$DecorView. superDispatchTo uchEvent( PhoneWindow. java:1713) internal. policy. impl.PhoneWindo w.superDispatch TouchEvent( PhoneWindow. java:1131) app.Activity. dispatchTouchEv ent(Activity. java:2070) internal. policy. impl.PhoneWindo w$DecorView. dispatchTouchEv ent(PhoneWindow .java:1697) view.ViewRoot. handleMessage( ViewRoot. java:1691) os.Handler. dispatchMessage (Handler. java:99) os.Looper. loop(Looper. java:123) app.ActivityThr ead.main( ActivityThread. java:4363) reflect. Method. invokeNative( Native Method) reflect. Method. invoke( Method. java:521) internal. os.ZygoteInit$ MethodAndArgsCa ller.run( ZygoteInit. java:862) internal. os.ZygoteInit. main(ZygoteInit .java:620) system. NativeStart. main(Native Method)
E/AndroidRuntime( 9783): at org.tomdroid.
E/AndroidRuntime( 9783): at org.tomdroid.
E/AndroidRuntime( 9783): at org.tomdroid.
E/AndroidRuntime( 9783): at org.tomdroid.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at com.android.
E/AndroidRuntime( 9783): at com.android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at com.android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at android.
E/AndroidRuntime( 9783): at java.lang.
E/AndroidRuntime( 9783): at java.lang.
E/AndroidRuntime( 9783): at com.android.
E/AndroidRuntime( 9783): at com.android.
E/AndroidRuntime( 9783): at dalvik.