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
FileNotFoundException with spaces in path to user profile #4589
Comments
@Fleex255 — can you provide a full stacktrace? |
Here it is:
|
Confirmed fixed in 4.2.1 (release forthcoming). |
4.2.1 is released: https://github.com/robolectric/robolectric/releases/tag/robolectric-4.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When the path to the current Windows user's profile folder contains a space (e.g.
C:\Users\John Smith
), trying to run Robolectric tests will fail:It appears that the path is being inappropriately URL-encoded, replacing spaces with
%20
. We have worked around the problem by creating a symbolic link from e.g.John%20Smith
toJohn Smith
, but this is obviously not ideal.Possibly related to #2171.
Steps to Reproduce
Robolectric & Android Version
Robolectric 4.1, Android API level 28, JUnit 4.12, Windows 10
Link to a public git repo demonstrating the problem:
The problem does not appear to be related to any specific Robolectric-based test suite.
The text was updated successfully, but these errors were encountered: