[Xposed Framework Modules] pr@tt:
Crashes on Nexus 5 (4.4.4)

Hello,

I've just installed MonsterUI 5.2 but caught a couple of crashes while I was playing with settings. Please have a look at it.

12-09 07:59:44.541: E/AndroidRuntime(18397): FATAL EXCEPTION: main
12-09 07:59:44.541: E/AndroidRuntime(18397): Process: com.kuaq.monsterui, PID: 18397
12-09 07:59:44.541: E/AndroidRuntime(18397): java.lang.NumberFormatException: Invalid long: ""
12-09 07:59:44.541: E/AndroidRuntime(18397):	at java.lang.Long.invalidLong(Long.java:124)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at java.lang.Long.parseLong(Long.java:345)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.graphics.Color.parseColor(Color.java:211)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.kuaq.monsterui.ColorPickerActivity.returnResultsSecondary(ColorPickerActivity.java:340)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.kuaq.monsterui.ColorPickerActivity.colorDialogSecondary(ColorPickerActivity.java:275)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.kuaq.monsterui.ColorPickerActivity.access$400(ColorPickerActivity.java:36)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.kuaq.monsterui.ColorPickerActivity$1$5.onClick(ColorPickerActivity.java:205)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.rey.material.widget.RippleManager.run(RippleManager.java:100)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.rey.material.widget.RippleManager.onClick(RippleManager.java:93)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.view.View.performClick(View.java:4438)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.view.View$PerformClick.run(View.java:18422)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.os.Handler.handleCallback(Handler.java:733)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.os.Handler.dispatchMessage(Handler.java:95)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.os.Looper.loop(Looper.java:136)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at android.app.ActivityThread.main(ActivityThread.java:5001)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at java.lang.reflect.Method.invokeNative(Native Method)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at java.lang.reflect.Method.invoke(Method.java:515)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
12-09 07:59:44.541: E/AndroidRuntime(18397):	at dalvik.system.NativeStart.main(Native Method)
12-09 07:59:44.541: W/ActivityManager(970): Force finishing activity com.kuaq.monsterui/.ColorPickerActivity
12-09 07:59:44.551: W/DropBoxManagerService(970): Dropping: data_app_crash (1562 > 0 bytes)
12-09 07:59:45.041: W/ActivityManager(970): Activity pause timeout for ActivityRecord{425f1678 u0 com.kuaq.monsterui/.ColorPickerActivity t300 f}
12-09 07:59:46.091: I/ActivityManager(970): Process com.kuaq.monsterui (pid 18397) has died.
12-09 07:59:46.091: I/WindowState(970): WIN DEATH: Window{4258bf80 u0 com.kuaq.monsterui/com.kuaq.monsterui.ColorPickerActivity}
12-09 07:59:46.101: I/WindowState(970): WIN DEATH: Window{436a0ff8 u0 Toast}
12-09 07:59:46.101: I/WindowState(970): WIN DEATH: Window{4402d608 u0 com.kuaq.monsterui/com.kuaq.monsterui.MainActivityNew}
12-09 07:59:46.121: I/ActivityManager(970): Start proc com.kuaq.monsterui for activity com.kuaq.monsterui/.MainActivityNew: pid=18622 uid=10117 gids={50117, 3003, 1028, 1015}

and

12-09 08:04:06.041: I/ActivityManager(970): START u0 {act=com.kuaq.monsterui.preferences.PrefCheckBox cmp=com.kuaq.monsterui/.preferences.PrefCheckBox} from pid 21801
12-09 08:04:06.121: E/AndroidRuntime(21801): FATAL EXCEPTION: main
12-09 08:04:06.121: E/AndroidRuntime(21801): Process: com.kuaq.monsterui, PID: 21801
12-09 08:04:06.121: E/AndroidRuntime(21801): java.lang.IllegalStateException: Dependency "pref_checkbox_bg" not found for preference "pref_checkbox_bg_new" (title: "CheckBox color"
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.Preference.registerDependency(Preference.java:1163)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.Preference.onAttachedToActivity(Preference.java:1152)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceGroup.onAttachedToActivity(PreferenceGroup.java:277)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceGroup.onAttachedToActivity(PreferenceGroup.java:277)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceScreen.bind(PreferenceScreen.java:147)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceActivity.bindPreferences(PreferenceActivity.java:1375)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceActivity.access$000(PreferenceActivity.java:124)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.preference.PreferenceActivity$1.handleMessage(PreferenceActivity.java:228)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.os.Handler.dispatchMessage(Handler.java:102)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.os.Looper.loop(Looper.java:136)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at android.app.ActivityThread.main(ActivityThread.java:5001)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at java.lang.reflect.Method.invokeNative(Native Method)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at java.lang.reflect.Method.invoke(Method.java:515)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
12-09 08:04:06.121: E/AndroidRuntime(21801):	at dalvik.system.NativeStart.main(Native Method)
12-09 08:04:06.121: W/ActivityManager(970): Force finishing activity com.kuaq.monsterui/.preferences.PrefCheckBox
12-09 08:04:06.131: W/ActivityManager(970): Force finishing activity com.kuaq.monsterui/.preferences.prefFramework
12-09 08:04:06.131: W/DropBoxManagerService(970): Dropping: data_app_crash (1494 > 0 bytes)
12-09 08:04:06.631: W/ActivityManager(970): Activity pause timeout for ActivityRecord{43cfc530 u0 com.kuaq.monsterui/.preferences.PrefCheckBox t313 f}
12-09 08:04:09.951: I/WindowState(970): WIN DEATH: Window{439392d8 u0 com.kuaq.monsterui/com.kuaq.monsterui.preferences.PrefCheckBox}
12-09 08:04:09.951: I/WindowState(970): WIN DEATH: Window{42535b58 u0 com.kuaq.monsterui/com.kuaq.monsterui.MainActivityNew}
12-09 08:04:09.961: I/ActivityManager(970): Process com.kuaq.monsterui (pid 21801) has died.
12-09 08:04:09.961: I/WindowState(970): WIN DEATH: Window{4327ab48 u0 com.kuaq.monsterui/com.kuaq.monsterui.preferences.prefFramework}
12-09 08:04:09.981: I/ActivityManager(970): Start proc com.kuaq.monsterui for activity com.kuaq.monsterui/.MainActivityNew: pid=22441 uid=10378 gids={50378, 3003, 1028, 1015}