java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true

Pentaho BI Platform Tracking | Pavel Hrakovich | 2 years ago
  1. 0

    Export from command line doesn't work for reports with special chars in the name. 1. Login to PUC. 2. Create a folder under user home with the following name: F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 3. Create Analysis report with the following name (under previously created folder): A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 4. Run export command from command line: ./import-export.sh --export --url=http://localhost:8080/pentaho --username=admin --password=password --file-path=/home/pentaho/exp_enc_01.zip --charset=UTF-8 --path=/home/admin/F\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:/A\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:.xanalyzer --withManifest=true --logfile=/home/pentaho/exp_enc.log Pay attention that all special chars were escaped by back-slash "\". Otherwise bash shell generates error. The following error is generated in logs: java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI.create(Unknown Source) at com.sun.jersey.api.client.Client.resource(Client.java:433) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performExport(CommandLineProcessor.java:733) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:240) Caused by: java.net.URISyntaxException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 4 more Issue was reported while running the following SpiraTest: http://spiratest.pentaho.com/6/TestCase/9917.aspx

    Pentaho BI Platform Tracking | 2 years ago | Pavel Hrakovich
    java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true
  2. 0

    Export from command line doesn't work for reports with special chars in the name. 1. Login to PUC. 2. Create a folder under user home with the following name: F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 3. Create Analysis report with the following name (under previously created folder): A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 4. Run export command from command line: ./import-export.sh --export --url=http://localhost:8080/pentaho --username=admin --password=password --file-path=/home/pentaho/exp_enc_01.zip --charset=UTF-8 --path=/home/admin/F\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:/A\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:.xanalyzer --withManifest=true --logfile=/home/pentaho/exp_enc.log Pay attention that all special chars were escaped by forward slash "\". Otherwise bash shell generates error. The following error is generated in logs: java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI.create(Unknown Source) at com.sun.jersey.api.client.Client.resource(Client.java:433) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performExport(CommandLineProcessor.java:733) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:240) Caused by: java.net.URISyntaxException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 4 more Issue was reported while running the following SpiraTest: http://spiratest.pentaho.com/6/TestCase/9917.aspx

    Pentaho BI Platform Tracking | 2 years ago | Pavel Hrakovich
    java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true
  3. 0

    Export from command line doesn't work for reports with special chars in the name. 1. Login to PUC. 2. Create a folder under user home with the following name: F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 3. Create Analysis report with the following name (under previously created folder): A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 4. Run export command from command line: ./import-export.sh --export --url=http://localhost:8080/pentaho --username=admin --password=password --file-path=/home/pentaho/exp_enc_01.zip --charset=UTF-8 --path=/home/admin/F\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:/A\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:.xanalyzer --withManifest=true --logfile=/home/pentaho/exp_enc.log Pay attention that all special chars were escaped by back-slash "\". Otherwise bash shell generates error. The following error is generated in logs: java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI.create(Unknown Source) at com.sun.jersey.api.client.Client.resource(Client.java:433) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performExport(CommandLineProcessor.java:733) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:240) Caused by: java.net.URISyntaxException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 4 more Issue was reported while running the following SpiraTest: http://spiratest.pentaho.com/6/TestCase/9917.aspx

    Pentaho BI Platform Tracking | 2 years ago | Pavel Hrakovich
    java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Export from command line doesn't work for reports with special chars in the name. 1. Login to PUC. 2. Create a folder under user home with the following name: F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 3. Create Analysis report with the following name (under previously created folder): A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: 4. Run export command from command line: ./import-export.sh --export --url=http://localhost:8080/pentaho --username=admin --password=password --file-path=/home/pentaho/exp_enc_01.zip --charset=UTF-8 --path=/home/admin/F\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:/A\-\[\~\!\@\#\$\%\^\&\*\(\)\{\}\|\.\,\]\-\=\_\+\|\;\'\"\?\<\>\~\`\:.xanalyzer --withManifest=true --logfile=/home/pentaho/exp_enc.log Pay attention that all special chars were escaped by forward slash "\". Otherwise bash shell generates error. The following error is generated in logs: java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI.create(Unknown Source) at com.sun.jersey.api.client.Client.resource(Client.java:433) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performExport(CommandLineProcessor.java:733) at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:240) Caused by: java.net.URISyntaxException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 4 more Issue was reported while running the following SpiraTest: http://spiratest.pentaho.com/6/TestCase/9917.aspx

    Pentaho BI Platform Tracking | 2 years ago | Pavel Hrakovich
    java.lang.IllegalArgumentException: Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true
  6. 0

    how to convert list to json and pass in rest client url

    Stack Overflow | 1 year ago | Sthogari
    java.lang.IllegalArgumentException: Illegal character in query at index 142: http://10.248.84.132:8082/nppWebService/updateModelGPData.do?lgdCode=33589&applicationId=8&uuid=9a26038f-6dd1-40b6-b847-f2fd16366fc0&jsonData={"noOfTrainingsOrganized":2,"noOfErsParticipated":4,"noOfOfficialsParticipated":5}

  1. richard77 1 times, last 1 week ago
  2. iridic 1 times, last 3 weeks ago
  3. maxxi 1 times, last 4 weeks ago
  4. lribeiro 12 times, last 5 months ago
  5. sriharshakiran 1 times, last 6 months ago
7 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.URISyntaxException

    Illegal character in path at index 59: http://localhost:8080/pentaho/api/repo/files/:home:admin:F-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` :A-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` .xanalyzer/download?withManifest=true

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.create
    1. java.net.URI$Parser.fail(Unknown Source)
    2. java.net.URI$Parser.checkChars(Unknown Source)
    3. java.net.URI$Parser.parseHierarchical(Unknown Source)
    4. java.net.URI$Parser.parse(Unknown Source)
    5. java.net.URI.<init>(Unknown Source)
    6. java.net.URI.create(Unknown Source)
    6 frames
  3. jersey-client
    Client.resource
    1. com.sun.jersey.api.client.Client.resource(Client.java:433)
    1 frame
  4. org.pentaho.platform
    CommandLineProcessor.main
    1. org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performExport(CommandLineProcessor.java:733)
    2. org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:240)
    2 frames