[Android Apps and Games] asc1977:
hi at all

i get a problem after updating android studio but didnt find the problem. app builded sucessfull without error and pushed with android studio to phone. nut if i want to open romcontrol it stoppes with followed log. but i didnt find out whats the problem. My last changes was to remove the superuser asking popup at every new romcontrol install. Only if it is nessesary

06-28 14:10:41.831 25431-25431/com.wubydax.romcontrol E/MotionRecognitionManager: mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy@8eadb7f

06-28 14:10:41.841 25431-25431/com.wubydax.romcontrol E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@e1a574c

06-28 14:10:41.841 25431-25431/com.wubydax.romcontrol E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@e1a574c

06-28 14:10:41.851 25431-25431/com.wubydax.romcontrol E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.wubydax.romcontrol, PID: 25431

java.lang.RuntimeException: Unable to resume activity {com.wubydax.romcontrol/com.wubydax.romcontrol.MainViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceScreen.removePreference(android.preference.Preference)' on a null object reference

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4225)

at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4327)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3426)

at android.app.ActivityThread.access$1100(ActivityThread.java:229)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:7331)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceScreen.removePreference(android.preference.Preference)' on a null object reference

at com.wubydax.romcontrol.HandlePreferenceFragments.allGroups(HandlePreferenceFragments.java:154)

at com.wubydax.romcontrol.HandlePreferenceFragments.getAllPrefs(HandlePreferenceFragments.java:116)

at com.wubydax.romcontrol.HandlePreferenceFragments.onResumeFragment(HandlePreferenceFragments.java:106)

at com.wubydax.romcontrol.StatusbarFragment.onResume(StatusbarFragment.java:20)

at android.app.Fragment.performResume(Fragment.java:2329)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1024)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1164)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1146)

at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1985)

at android.app.FragmentController.dispatchResume(FragmentController.java:175)

at android.app.Activity.performResume(Activity.java:7041)

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4214)

at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4327)*

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3426)*

at android.app.ActivityThread.access$1100(ActivityThread.java:229)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)*

at android.os.Handler.dispatchMessage(Handler.java:102)*

at android.os.Looper.loop(Looper.java:148)*

at android.app.ActivityThread.main(ActivityThread.java:7331)*

at java.lang.reflect.Method.invoke(Native Method)*

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)*