[Moto G Original Android Development] a6576171:
Lockscreen bug

All the nightlies I've tried so far (many many since the year started) my phone gets this SystemUI error when I lock up the phone. Then, the only way to ge rid of it is by wiping. It's not random nor one-time thing, every time I try it out, the lockscreen simply doesn't work. Any ideas, has anyone underwent through the same thing? Usually people have similar errors, but I did my search and found little to nothing, and all I managed to find was reported bugs on random threads with no conclusive answer. Am I doing something wrong? :crying:

Anyway, I've submitted loads of bug reports via CM bug report tool inside CM12, but I don't know if that helps.

EDIT: I managed to send myself the bug report CM is supposed to receive when that bug happens, and it is as follows:

java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.zero()' on a null object reference

at android.os.Parcel.readException(Parcel.java:1546)

at android.os.Parcel.readException(Parcel.java:1493)

at android.app.admin.IDevicePolicyManager$Stub$Proxy.requireSecureKeyguard(IDevicePolicyManager.java:4627)

at android.app.admin.DevicePolicyManager.requireSecureKeyguard(DevicePolicyManager.java:3491)

at com.android.internal.widget.LockPatternUtils.getActiveProfileLockMode(LockPatternUtils.java:1506)

at com.android.keyguard.KeyguardSecurityModel.getSecurityMode(KeyguardSecurityModel.java:96)

at com.android.keyguard.KeyguardSecurityContainer.showPrimarySecurityScreen(KeyguardSecurityContainer.java:293)

at com.android.keyguard.KeyguardViewBase.onFinishInflate(KeyguardViewBase.java:108)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:814)

at android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:802)

at android.view.LayoutInflater.inflate(LayoutInflater.java:504)

at android.view.LayoutInflater.inflate(LayoutInflater.java:414)

at android.view.LayoutInflater.inflate(LayoutInflater.java:365)

at com.android.systemui.statusbar.phone.KeyguardBouncer.inflateView(KeyguardBouncer.java:166)

at com.android.systemui.statusbar.phone.KeyguardBouncer.ensureView(KeyguardBouncer.java:160)

at com.android.systemui.statusbar.phone.KeyguardBouncer.prepare(KeyguardBouncer.java:155)

at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:115)

at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:147)

at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:99)

at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1281)

at com.android.systemui.keyguard.KeyguardViewMediator.access$1700(KeyguardViewMediator.java:116)

at com.android.systemui.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1112)

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

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

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

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

at java.lang.reflect.Method.invoke(Method.java:372)

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

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