You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FATAL EXCEPTION: main
Process: com.lichao.bankcardrec, PID: 9549
java.lang.NullPointerException: Attempt to get length of null array
at com.lichao.util.TextImageProcessor.recognitionChar(TextImageProcessor.java:247)
at com.lichao.bankcardrec.CardOCRActivity.onClick(CardOCRActivity.java:85)
at android.view.View.performClick(View.java:6613)
at android.view.View.performClickInternal(View.java:6586)
at android.view.View.access$3100(View.java:780)
at android.view.View$PerformClick.run(View.java:26100)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6702)
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:911)
The text was updated successfully, but these errors were encountered:
FATAL EXCEPTION: main
Process: com.lichao.bankcardrec, PID: 9549
java.lang.NullPointerException: Attempt to get length of null array
at com.lichao.util.TextImageProcessor.recognitionChar(TextImageProcessor.java:247)
at com.lichao.bankcardrec.CardOCRActivity.onClick(CardOCRActivity.java:85)
at android.view.View.performClick(View.java:6613)
at android.view.View.performClickInternal(View.java:6586)
at android.view.View.access$3100(View.java:780)
at android.view.View$PerformClick.run(View.java:26100)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6702)
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:911)
The text was updated successfully, but these errors were encountered: