java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)

Atlassian JIRA | Marlon Aguiar [Atlassian] | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    For some reason JIRA is replacing the %20 with an actual space, and that's breaking the Webhooks. This was the original webhook: http://example.com/rest/webhooks/webhook%20test This is what shows up on the logs: {noformat} 2013-07-25 16:59:52.475163500 Exception in thread "pool-28-thread-1" com.atlassian.uri.Uri$UriException: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475286500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:129) 2013-07-25 16:59:52.475287500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.getUri(PublishTaskFactoryImpl.java:151) 2013-07-25 16:59:52.475288500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.run(PublishTaskFactoryImpl.java:116) 2013-07-25 16:59:52.475292500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-07-25 16:59:52.475306500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-07-25 16:59:52.475318500 at java.lang.Thread.run(Thread.java:662) 2013-07-25 16:59:52.475505500 Caused by: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066) 2013-07-25 16:59:52.476012500 at java.net.URI$Parser.parse(URI.java:3014) 2013-07-25 16:59:52.476012500 at java.net.URI.<init>(URI.java:578) 2013-07-25 16:59:52.476012500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:124) 2013-07-25 16:59:52.476013500 ... 5 more {noformat}

    Atlassian JIRA | 4 years ago | Marlon Aguiar [Atlassian]
    java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)
  2. 0

    For some reason JIRA is replacing the %20 with an actual space, and that's breaking the Webhooks. This was the original webhook: http://example.com/rest/webhooks/webhook%20test This is what shows up on the logs: {noformat} 2013-07-25 16:59:52.475163500 Exception in thread "pool-28-thread-1" com.atlassian.uri.Uri$UriException: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475286500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:129) 2013-07-25 16:59:52.475287500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.getUri(PublishTaskFactoryImpl.java:151) 2013-07-25 16:59:52.475288500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.run(PublishTaskFactoryImpl.java:116) 2013-07-25 16:59:52.475292500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-07-25 16:59:52.475306500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-07-25 16:59:52.475318500 at java.lang.Thread.run(Thread.java:662) 2013-07-25 16:59:52.475505500 Caused by: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066) 2013-07-25 16:59:52.476012500 at java.net.URI$Parser.parse(URI.java:3014) 2013-07-25 16:59:52.476012500 at java.net.URI.<init>(URI.java:578) 2013-07-25 16:59:52.476012500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:124) 2013-07-25 16:59:52.476013500 ... 5 more {noformat}

    Atlassian JIRA | 4 years ago | Marlon Aguiar [Atlassian]
    java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)
  3. 0

    SequenceFileLoader fails if given comma-separated list of files

    GitHub | 5 years ago | keolson
    org.apache.pig.backend.executionengine.ExecException: ERROR 2118: java.net.URISyntaxException: Illegal character in scheme name at index 0: 23,hdfs:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spark RDD create on s3 file

    Stack Overflow | 2 years ago | hayat
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Expected scheme-specific part at index 3: s3:
  6. 0

    [Nutch-dev] Error when running Nutch, please help - Grokbase

    grokbase.com | 2 years ago
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: drwxr-xr-xnn3ncaryannstaffnn102nn4n23n22:01n20130423220110

  1. raytest 1 times, last 1 month ago
  2. Hronom 2 times, last 1 month ago
  3. richard77 4 times, last 2 months ago
  4. tfr 1 times, last 9 months ago
  5. muffinmannen 1 times, last 11 months ago
36 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 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)

    at java.net.URI$Parser.parse()
  2. Java RT
    URI.<init>
    1. java.net.URI$Parser.parse(URI.java:3014)
    2. java.net.URI.<init>(URI.java:578)
    2 frames
  3. com.atlassian.uri
    Uri.toJavaUri
    1. com.atlassian.uri.Uri.toJavaUri(Uri.java:124)
    1 frame