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

Kontalk crashes with newest commit 65d71c8 #1064

Closed
115ek opened this issue Sep 7, 2017 · 2 comments
Closed

Kontalk crashes with newest commit 65d71c8 #1064

115ek opened this issue Sep 7, 2017 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@115ek
Copy link
Contributor

115ek commented Sep 7, 2017

Expected behavior

Kontalk should start

Actual behavior

Kontalk crashes immediately

Steps to reproduce

  1. install newest build
  2. try to start
  3. crash

Environment

Kontalk version: 65d71c8 (f-droid)

Android version: 7.1.2 (Lineage 14.1)

Device model: Samsung S III Mini

Logs

09-07 15:15:50.500 32341 32341 D AndroidRuntime: Shutting down VM
09-07 15:15:50.502 32341 32341 E AndroidRuntime: FATAL EXCEPTION: main
09-07 15:15:50.502 32341 32341 E AndroidRuntime: Process: org.kontalk, PID: 32341
09-07 15:15:50.502 32341 32341 E AndroidRuntime: java.lang.RuntimeException: Unable to start service org.kontalk.service.msgcenter.MessageCenterService@e485109 with Intent { act=org.kontalk.action.HOLD cmp=org.kontalk/.service.msgcenter.MessageCenterService (has extras) }: java.lang.StringIndexOutOfBoundsException: length=20; regionStart=0; regionLength=23
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3368)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.app.ActivityThread.-wrap21(ActivityThread.java)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1601)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6186)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: Caused by: java.lang.StringIndexOutOfBoundsException: length=20; regionStart=0; regionLength=23
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at java.lang.String.substring(String.java:1931)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at org.kontalk.Log.makeTag(Log.java:117)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at org.kontalk.Log.d(Log.java:176)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at org.kontalk.service.msgcenter.MessageCenterService.onStartCommand(MessageCenterService.java:823)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3351)
09-07 15:15:50.502 32341 32341 E AndroidRuntime: 	... 8 more

Other

@daniele-athome daniele-athome self-assigned this Sep 7, 2017
@daniele-athome daniele-athome added the bug Something isn't working label Sep 7, 2017
@daniele-athome daniele-athome added this to the 4.1.0 milestone Sep 7, 2017
@daniele-athome
Copy link
Member

daniele-athome commented Sep 7, 2017

Sorry, did it in a rush and no time to test it. Should be fixed now, BUT I don't have the time to test it :-)

@daniele-athome
Copy link
Member

By the way, please enclose log output between three backticks instead of one (I fixed your comment above).

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

2 participants