-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
StringIndexOutOfBoundsException #2872
Comments
Thank you very much for the report. I will investigate. Could you reproduce easily, or it just happened once? |
basically when the first screen is the homescreen already and you are using right-click as a habit, then (at least for me) it's crashing often, but seems by a few tries and reloads not 100% of the times. once you change screens e.g. app drawer, search-assistent-screen or any app, then it seems not to crash anyway forcefully. |
Just notice it might happen at other times as well... Inside another App where i was scanning documents i push right-click (mouse) to go back a few and the same error occured, so it's not just the home screen. |
I will investigate in more details, but these questions might help to find the cause:
|
Also, if you could run with |
@carstengrimm I fail to reproduce. The logs with |
Oh, it might possibly be a problem fixed by #2859 on development branch. @carstengrimm Could you please test with this binary (which includes the fix because it is based on the development branch)? Also, if you could answer the questions from my previous comments, that would help. I'd really want this to be fixed before the next release. Thank you. |
I have tested it more and more and after also trying to reinstall (instead of replacing/overwriting) files, it seems to not make the error reproducible, I have tested it with the fresh windows package, as well as the binary you link in your comment, and on both i am not able to reproduce the errors. my guess is that some files from an earlier installations which have not been overwritten have caused the issues. |
Thank you for your new tests.
Did you ever install a non-release binary (either If you only ever installed releases, scrcpy refuses to start if the server version is not the same as the client version, so it should not happen. Please don't hesitate to reopen if you encounter the problem again. |
Basically since many many versions I have been downloading the Whereas before I started with the scrcpy-noconsole.bat (which was a leftover from previous installations) non-release, no i have never used any and exclusively download from the releases panel on github. |
When using "Right-Click" on a windows 10 Machine using the 1.21 i get the following error exception on my device, where touch events are not working afterwards anymore:
The text was updated successfully, but these errors were encountered: