Repository navigation
crash on android 7.0 (nougat) #7
Description
Activity
please help to solve this issue
Hello @haris15
Thank you for reporting the issue!
We will look at it.
Do you mind sharing with us:- How did you find RingCaptcha?
- What are you using RingCaptcha for?
- How many users do you have currently? Or how many users you will have in 3 months time?
@haris15 Do you mind showing a snippet of code where the app is crashing so that we can understand what was the code doing when it crashed, and the parameters passed to the SDK/function?
- Hello Neth Thank you for quick respose.…On Tue, Feb 20, 2018 at 5:47 AM, Neth Six ***@***.***> wrote: @haris15 <https://github.com/haris15> Do you mind showing a snippet of code where the app is crashing so that we can understand what was the code doing when it crashed, and the parameters passed to the SDK/function? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AbcSbvErJNn3m0XTrMbOlo_nW-FIp5qDks5tWg8pgaJpZM4SKaCH> .
- Hello Neth Thank you for quick response this is snippet of Ring captcha code where my app is crash RingcaptchaApplication.onboard(getActivity().getApplicationContext(), "APPKEY", "SECRETKEY", new RingcaptchaApplicationHandler() { @OverRide public void onSuccess(RingcaptchaVerification ringcaptchaVerification) { //call registerUser() after verification done registerUser(edtFirstName.getText().toString(), edtLastName.getText().toString(), edtEmail.getText().toString(), phoneNumber, edtUsername.getText().toString(), edtPassword.getText().toString()); } @OverRide public void onCancel() { sessionManager.showSnackBar("Verification failed"); } }); please give me solution for this issue. Thanks Haris…On Tue, Feb 20, 2018 at 5:47 AM, Neth Six ***@***.***> wrote: @haris15 <https://github.com/haris15> Do you mind showing a snippet of code where the app is crashing so that we can understand what was the code doing when it crashed, and the parameters passed to the SDK/function? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AbcSbvErJNn3m0XTrMbOlo_nW-FIp5qDks5tWg8pgaJpZM4SKaCH> .
do you find any solution for this issue ?
hi neth
hi neth
this is an answer of your questions
- i have find Ring Captcha from internet
- i am using Ring Captcha for user authentication
- i will have 100 to 500 users in 3 months time
Hey @haris15
We're still looking into this issue. we should have update for you latest by early next week.- please find solution for that issue this is a log that may be help you org.xml.sax.SAXParseException: name expected (position:START_TAG <Note content='This list is just for user reference. CountryCodePicker picks country list from getMasterCountries(), a static method of Country class'>@3:155 in java.io.InputStreamReader@23a0376) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:132) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.widget.parser.CountriesParser.parse(CountriesParser.java:38) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.RingcaptchaApplication.init(RingcaptchaApplication.java:169) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.RingcaptchaApplication.onboard(RingcaptchaApplication.java:261) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment.verifiedUser(SignUpFragment.java:205) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment.access$500(SignUpFragment.java:55) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:385) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:319) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask.finish(AsyncTask.java:636) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask.access$500(AsyncTask.java:177) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.os.Looper.loop(Looper.java:135) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at java.lang.reflect.Method.invoke(Native Method) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 02-22 18:15:18.390 29416-29416/com.cognovi.EquilibriumFX W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 02-22 18:15:18.394 29416-29416/com.cognovi.EquilibriumFX E/AndroidRuntime: FATAL EXCEPTION: main Process: com.cognovi.EquilibriumFX, PID: 29416 java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.thrivecom.ringcaptcha.widget.model.Countries.getItem(Countries.java:75) at com.thrivecom.ringcaptcha.RingcaptchaApplication.init(RingcaptchaApplication.java:189) at com.thrivecom.ringcaptcha.RingcaptchaApplication.onboard(RingcaptchaApplication.java:261) at com.cognovi.EquilibriumFX.fragments.SignUpFragment.verifiedUser(SignUpFragment.java:205) at com.cognovi.EquilibriumFX.fragments.SignUpFragment.access$500(SignUpFragment.java:55) at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:385) at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:319) at android.os.AsyncTask.finish(AsyncTask.java:636) at android.os.AsyncTask.access$500(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)…On Thu, Feb 22, 2018 at 6:05 PM, Neth Six ***@***.***> wrote: Hey @haris15 <https://github.com/haris15> We're still looking into this issue. we should have update for you latest by early next week. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AbcSbnc4uYmIF58Lt0Dp-jDN0uKmKCRaks5tXV8SgaJpZM4SKaCH> .
hi @OlehMO
i have checked my code in most of all devices in android 4.0 to android 7.1 its crashed in all devices
my compileSdkVersionis 23 and targetSdkVersion is 23
i have mode demo in this i have used only ringcaptcha onboard code and its working perfectly
same code i have used in my application but its crashed and give above error that i have mention@haris15 Can you help us check if item 4 (the code @OlehMO provided) is working correctly on one of your crashed devices? I know it will take some of your time, but if it that works, you can try moving parts of your code into @OlehMO 's base code to see if the crash happens.
At the moment as we cannot replicate the crash on our side, we will need your help to identify the part of your code that is causing the crash.
- yes i have use Gradle dependency to include the Ringcaptcha SDK…On Mon, Mar 5, 2018 at 3:25 PM, Oleh Motnyk ***@***.***> wrote: @haris15 <https://github.com/haris15> Do you use Gradle dependency to include the Ringcaptcha SDK into your application or download *ringcaptcha.jar* from this repository? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AbcSbuBcjDUch-wia0urHnz3wOvWI-GRks5tbQuAgaJpZM4SKaCH> .
in android nougat my app is crash see a log
-10798/com.cognovi.EquilibriumFX W/System.err: org.xml.sax.SAXParseException: name expected (position:START_TAG @3:155 in java.io.InputStreamReader@8cc0ec8)
02-19 16:45:21.172 10798-10798/com.cognovi.EquilibriumFX W/System.err: at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146)
02-19 16:45:21.172 10798-10798/com.cognovi.EquilibriumFX W/System.err: at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:132)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.widget.parser.CountriesParser.parse(CountriesParser.java:38)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.RingcaptchaApplication.init(RingcaptchaApplication.java:169)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.thrivecom.ringcaptcha.RingcaptchaApplication.onboard(RingcaptchaApplication.java:261)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment.verifiedUser(SignUpFragment.java:348)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment.access$100(SignUpFragment.java:55)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:270)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.cognovi.EquilibriumFX.fragments.SignUpFragment$checkUserExistOrNot.onPostExecute(SignUpFragment.java:204)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask.finish(AsyncTask.java:660)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask.-wrap1(AsyncTask.java)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:677)
02-19 16:45:21.173 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
02-19 16:45:21.174 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.os.Looper.loop(Looper.java:154)
02-19 16:45:21.174 10798-10798/com.cognovi.EquilibriumFX W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6077)
02-19 16:45:21.174 10798-10798/com.cognovi.EquilibriumFX W/System.err: at java.lang.reflect.Method.invoke(Native Method)
02-19 16:45:21.174 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
02-19 16:45:21.174 10798-10798/com.cognovi.EquilibriumFX W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)