Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing the app due to filter error #47

Open
ghost opened this issue Jul 13, 2018 · 0 comments
Open

Crashing the app due to filter error #47

ghost opened this issue Jul 13, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2018

Please fix in the code.

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setFilters(android.text.InputFilter[])' on a null object reference
at com.cooltechworks.creditcarddesign.pager.CardCVVFragment.setMaxCVV(CardCVVFragment.java:69)
at com.cooltechworks.creditcarddesign.pager.CardFragmentAdapter.setMaxCVV(CardFragmentAdapter.java:92)
at com.cooltechworks.creditcarddesign.CardEditActivity.checkParams(CardEditActivity.java:102)
at com.cooltechworks.creditcarddesign.CardEditActivity.onRestoreInstanceState(CardEditActivity.java:207)
at android.app.Activity.performRestoreInstanceState(Activity.java:1015)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1175)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2735)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2823)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4655)
at android.app.ActivityThread.-wrap19(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1551)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6349)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants