현상 : 일회용 인증키가 생성하지 못하고 다음과 같은 오류 메시지 발생.
java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
at com.barokey.barokey.str2Hex(barokey.java:241)
at com.barokey.barokey.generateKEYP(barokey.java:293)
at com.baro.pam.info.PAMCreateACT.onAuthKey(PAMCreateACT.java:223)
at com.baro.pam.info.PAMCreateACT.getIntentData(PAMCreateACT.java:150)
at com.baro.pam.info.PAMCreateACT.onCreate(PAMCreateACT.java:59)
at android.app.Activity.performCreate(Activity.java:6877)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351)
at android.app.ActivityThread.access$1100(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7230)
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)
java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=3
at java.lang.String.startEndAndLength(String.java:298)
at java.lang.String.substring(String.java:1087)
at com.baro.pam.info.PAMCreateACT.onAuthKey(PAMCreateACT.java:227)
at com.baro.pam.info.PAMCreateACT.getIntentData(PAMCreateACT.java:150)
at com.baro.pam.info.PAMCreateACT.onCreate(PAMCreateACT.java:59)
at android.app.Activity.performCreate(Activity.java:6877)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351)
at android.app.ActivityThread.access$1100(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7230)
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)
원인 : Secure key가 잘못 입력된 경우에 발생.
조치 : Secure key를 확인한 후 관리자에게 재발행 요청.
'▶ BaroSolution > 오류 메시지' 카테고리의 다른 글
Desktop용 BaroPAM을 사용 중에 화면보호기 화면으로 전환되는 현상 (0) | 2022.02.28 |
---|---|
undefined symbol: curl_easy_setopt (0) | 2021.11.01 |
HamoniKR OS 설치 후 ssh 접속이 안된 경우 (0) | 2021.08.11 |
Windows 환경에서 백신이 BaroPAM을 해제시키는 경우 (0) | 2021.07.09 |
안드로이드 폰에서 본인 폰번호로 메시지 전송이 안되는 경우 (0) | 2020.12.31 |