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

Can't start RightMesh service again after turning it off via the wallet interface #32

Open
ConnorHeidema opened this issue Feb 20, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@ConnorHeidema
Copy link
Contributor

When I go to the wallet page and turn off the RightMesh service, if I leave to the profiel page and try to go back to the RightMesh wallet page it crashes and I get kicked out of the application. If I go back into the app the service doesn't restart. If I restart the phone the service doesn't restart. If I delete internal files pertaining to the app it causes the RightMesh wallet button to stop working (the app doesn't crash anymore however)

@ConnorHeidema
Copy link
Contributor Author

02-20 15:07:23.608 12704-12704/io.left.meshim E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.left.meshim, PID: 12704
java.lang.IllegalStateException: io.left.rightmesh.mesh.l must be set
at android.os.Parcel.readException(Parcel.java:1628)
at android.os.Parcel.readException(Parcel.java:1573)
at io.left.meshim.services.IMeshIMService$Stub$Proxy.showRightMeshSettings(IMeshIMService.java:252)
at io.left.meshim.activities.MainActivity.lambda$setupSettingTab$4$MainActivity(MainActivity.java:208)
at io.left.meshim.activities.MainActivity$$Lambda$4.onClick(Unknown Source)
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:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@ConnorHeidema
Copy link
Contributor Author

^stacktrace

@compscidr
Copy link
Contributor

Might be good for someone to compile a version of meshim with dexguard disabled on the lib to reproduce and do a stacktrace - will make it easier to see what class is saying must be set.

@FrazerSeymour
Copy link
Contributor

FrazerSeymour commented Feb 21, 2018

I think when we tracked it down at @ConnorHeidema's desk we just don't null check the service in the onClick event in the app where we call meshManager.showSettingsOrWhatever(). Should be a quick fix. Wait, derp, it propagates into the library, thus the dexgaurded class. 🙃

@FrazerSeymour FrazerSeymour added the bug Something isn't working label Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants