java.lang.IllegalArgumentException: Address of hyperlink must be a valid URI

Hot problem!
This exception has a lot of traffic. You can help 26 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by VenkiArun
, 1 year ago
Address of hyperlink must be a valid URI
java.net.URISyntaxException: Illegal character in path at index 27: /home/user/Desktop/class Name/ExcelApp/ '/home/user/Desktop/pathfile/Employee Details /1.pdf'
at java.net.URI$Parser.fail(URI.java:2810)
at java.net.URI$Parser.checkChars(URI.java:2983)
at java.net.URI$Parser.parseHierarchical(URI.java:3067)
at java.net.URI$Parser.parse(URI.java:3025)
at java.net.URI.(URI.java:577)

Users with the same issue

2 times, 1 month ago
2 times, 1 month ago
4 times, 1 month ago
10 times, 2 months ago
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.