Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XmlTranslator][version1.2]The app crashes if i click translate. #1

Open
masudr4n4 opened this issue May 13, 2019 · 0 comments
Open

Comments

@masudr4n4
Copy link

Actual behavior

The app crashes if click translate, can not translate the xml code.

Expected behavior

Expected that i can translate my xml code successfully

How to reproduce

  1. Install the apps and open the app
  2. Allow permission wanted by the app
  3. choose any mail wanting by the app
  4. Paste your xml code .
  5. Click translate
  6. See the error

Information

  • App version:v1.2
  • OS:Android 9.0
  • Device:Samsung A10

Recording Of The Bug

https://youtu.be/C5-fsb3zUKs

Logcat

05-13 17:58:00.611 18289 18289 E AndroidRuntime: FATAL EXCEPTION: main
05-13 17:58:00.611 18289 18289 E AndroidRuntime: Process: com.jantzapps.jantz.xmltranslatorfree, PID: 18289
05-13 17:58:00.611 18289 18289 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.jantzapps.jantz.xmltranslatorfree.services.TranslationService: java.lang.ClassCastException: com.jantzapps.jantz.xmltranslatorfree.services.TranslationService cannot be cast to com.google.android.gms.common.api.GoogleApiClient$ConnectionCallbacks
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3769)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.app.ActivityThread.access$1400(ActivityThread.java:237)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: Caused by: java.lang.ClassCastException: com.jantzapps.jantz.xmltranslatorfree.services.TranslationService cannot be cast to com.google.android.gms.common.api.GoogleApiClient$ConnectionCallbacks
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at com.jantzapps.jantz.xmltranslatorfree.helpers.GoogleApiHelper.buildGoogleApiClient(GoogleApiHelper.java:40)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at com.jantzapps.jantz.xmltranslatorfree.helpers.GoogleApiHelper.(GoogleApiHelper.java:17)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at com.jantzapps.jantz.xmltranslatorfree.services.TranslationService.onCreate(TranslationService.java:46)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3757)
05-13 17:58:00.611 18289 18289 E AndroidRuntime: 	... 8 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant