opentelecoms-org / lumicall

SIP and ENUM dialer for Android with ZRTP/SRTP encryption, SIP over TLS, ICE/TURN for NAT, G.729 and many other features
http://www.lumicall.org
Other
144 stars 88 forks source link

App Crash. #70

Open YYYSSSHHH opened 3 years ago

YYYSSSHHH commented 3 years ago

Environment Info: APK Version: 1.13.2 (191) Android version: 6.0.1

Crash One: 1.Click the "Varify my number now " button, and then app will crash. 11

Crash Two: 1.Click the "Manual number verification " button. 2.Click the "Request verification SMS" button, and then app will crash. 21 22

The Stack Trace: FATAL EXCEPTION: main Process: org.lumicall.android, PID: 20314 java.lang.NullPointerException: Attempt to invoke virtual method 'long com.google.i18n.phonenumbers.Phonenumber$PhoneNumber.getNationalNumber()' on a null object reference at com.google.i18n.phonenumbers.PhoneNumberUtil.format(PhoneNumberUtil.java:1034) at org.lumicall.android.sip.ManualVerification$1.onClick(ManualVerification.java:109) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21153) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5539) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)

Do you confirm this bug? Thank you.