java.lang.IllegalArgumentException

Address of hyperlink must be a valid URI

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17541

  • Address of hyperlink must be a valid URI
  • Each element of 'value' must be a valid managed object.
  • The value of param must be a valid Java Object
  • Stack trace

    • java.lang.IllegalArgumentException: Address of hyperlink must be a valid URI at org.apache.poi.xssf.usermodel.XSSFHyperlink.validate(XSSFHyperlink.java:212) at org.apache.poi.xssf.usermodel.XSSFHyperlink.setAddress(XSSFHyperlink.java:194) at com.example.excelapp.ExcelApp.main(ExcelApp.java:83) Caused by: 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.<init>(URI.java:577) at org.apache.poi.xssf.usermodel.XSSFHyperlink.validate(XSSFHyperlink.java:210)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 weeks ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 3 months ago
    Once, 4 months ago
    4 times, 4 months ago
    62 more bugmates