java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NullPointerException: Attempt to read from field 'int android.inputmethodservice.Keyboard$Key.width' on a null object reference at com.sunzala.afghankeyboard.android.LatinKeyboard.setLanguageSwitchKeyVisibility(LatinKeyboard.java:93) at com.sunzala.afghankeyboard.android.SoftKeyboard.setLatinKeyboard(SoftKeyboard.java:210) at com.sunzala.afghankeyboard.android.SoftKeyboard.onStartInputView(SoftKeyboard.java:368) at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:2187) at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:2081) at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:651) at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:216) at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7237) 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)
No Bugmate found.