Luhn icon indicating copy to clipboard operation
Luhn copied to clipboard

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean xyz.belvi.luhn.customTextInputLayout.inputLayouts.CardTextInputLayout.post(java.lang.Runnable)' on a null object reference

Open mahbubmukul opened this issue 5 years ago • 0 comments

java.lang.RuntimeException: Unable to start activity ComponentInfo{bd.com.ipay.android/xyz.belvi.luhn.Luhn}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean xyz.belvi.luhn.customTextInputLayout.inputLayouts.CardTextInputLayout.post(java.lang.Runnable)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2925) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3060) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6762) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean xyz.belvi.luhn.customTextInputLayout.inputLayouts.CardTextInputLayout.post(java.lang.Runnable)' on a null object reference at xyz.belvi.luhn.Luhn.initCardField(Luhn.java:256) at xyz.belvi.luhn.Luhn.initViews(Luhn.java:216) at xyz.belvi.luhn.Luhn.initStyle(Luhn.java:208) at xyz.belvi.luhn.Luhn.onCreate(Luhn.java:97) at android.app.Activity.performCreate(Activity.java:7136) at android.app.Activity.performCreate(Activity.java:7127) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2905) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3060)  at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)  at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)  at android.os.Handler.dispatchMessage(Handler.java:106)  at android.os.Looper.loop(Looper.java:193)  at android.app.ActivityThread.main(ActivityThread.java:6762)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 

mahbubmukul avatar May 13 '19 10:05 mahbubmukul