-
Notifications
You must be signed in to change notification settings - Fork 112
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
URISyntaxException #397
Comments
this task will get someone's attention soon |
@maurezen many thanks for the bug report, I added 15 mins to your acc, transaction |
@krzyk it's yours, budget is 30 mins, please go ahead |
@maurezen the lines reported in the original issue don't match with current qulice release, it looks like jcabi-xml is using |
@maurezen ping |
@alex-palevsky please give me more time here |
@maurezen if the explanations is enough please close this issue |
@krzyk at the moment jcabi-xml uses jcabi v 1.17, which uses parent 0.32.1, which uses qulice 0.12. At qulice's master branch the code is exactly as I've described, though the |
@maurezen strange, because there is explicit case for spaces in the URL, so this must be some other case. Do you have the full stack trace and the URL for which it fails? |
@maurezen ping |
@maurezen and ping again |
@maurezen ping |
@maurezen help me out here, please |
@maurezen any news? |
@krzyk uh. sorry, was distracted. I will take a look at this. |
@krzyk failed to reproduce it. thanks for your effort! |
In
DefaultMavenEnvironment#classLoader
there is a following code:It gets executed for each entry in
this,classpath()
. If any entry contains space, this results inURISyntaxException
.A simple example of how this happens here jcabi/jcabi-xml#49 - Windows, maven repo in Documents and Settings folder, maven artifacts in classpath.
Relevant part of the log:
Suggested way of fixing it is using
File#toURI
instead ofnew URI(String)
.The text was updated successfully, but these errors were encountered: