Open gmhz opened 1 year ago
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.Display.getRotation()' on a null object reference cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.bindPreview(ScanCardFragment.java:242) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.lambda$onViewCreated$0(ScanCardFragment.java:184) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.$r8$lambda$tPKP2bMKcLGUZIHSb6GqrOBKzhU(Unknown Source:0) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment$$ExternalSyntheticLambda4.run(Unknown Source:2) android.os.Handler.handleCallback(Handler.java:938) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:210) android.os.Looper.loop(Looper.java:299) android.app.ActivityThread.main(ActivityThread.java:8250) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Android 12, MIUI 13.0.3 Xiaomi POCO X3 Pro
Seems like it's related to the library
library can't be "solved" was fixed using this comment
@gmhz Did you find the solution to this error?
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.Display.getRotation()' on a null object reference cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.bindPreview(ScanCardFragment.java:242) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.lambda$onViewCreated$0(ScanCardFragment.java:184) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment.$r8$lambda$tPKP2bMKcLGUZIHSb6GqrOBKzhU(Unknown Source:0) cards.pay.paycardsrecognizer.sdk.ui.ScanCardFragment$$ExternalSyntheticLambda4.run(Unknown Source:2) android.os.Handler.handleCallback(Handler.java:938) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:210) android.os.Looper.loop(Looper.java:299) android.app.ActivityThread.main(ActivityThread.java:8250) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Android 12, MIUI 13.0.3 Xiaomi POCO X3 Pro
Seems like it's related to the library