I have a project that uses the getSource() of the ApplicationHome, and today I tested the project in another pc using windows 10, the path of the folder where the project is, contains a space and getSource returns null.

The reason is because the condition source.exists() returns false since the space is replaced by %20 in the url and a file is created using new File(location.getPath()).

I don't know the implications that would have to change getPath to toURI or just replacing the %20 by spaces, but at least at first hand, it seems like a possible simple solution.